gohook/test/main.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...")
}
}