mirror of
https://github.com/robotn/gohook.git
synced 2024-11-14 20:26:39 +08:00
16 lines
168 B
Go
16 lines
168 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/robotn/gohook"
|
|
)
|
|
|
|
func main() {
|
|
// hook.AsyncHook()
|
|
veve := hook.AddEvent("v")
|
|
if veve == 0 {
|
|
fmt.Println("v...")
|
|
}
|
|
}
|