package main import ( "fmt" "github.com/robotn/gohook" ) func main() { // hook.AsyncHook() veve := hook.AddEvent("v") if veve == 0 { fmt.Println("v...") } }