gohook/test/main.go

16 lines
161 B
Go
Raw Normal View History

2017-02-06 16:55:01 +08:00
package main
import (
"fmt"
2018-09-05 03:25:08 +08:00
2017-02-06 16:55:01 +08:00
"go-vgo/robotn/gohook"
)
func main() {
hook.AsyncHook()
veve := hook.AddEvent("v")
if veve == 0 {
fmt.Println("v...")
}
}