gohook/README.md

21 lines
212 B
Markdown
Raw Normal View History

2017-02-06 16:55:01 +08:00
# gohook
2018-09-05 03:25:08 +08:00
This is a work in progress.
```Go
package main
import (
"fmt"
"go-vgo/robotn/gohook"
)
func main() {
2018-09-17 07:43:30 +08:00
// hook.AsyncHook()
2018-09-05 03:25:08 +08:00
veve := hook.AddEvent("v")
if veve == 0 {
fmt.Println("v...")
}
}
```