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