mirror of
https://github.com/robotn/gohook.git
synced 2025-01-18 21:56:40 +08:00
16 lines
168 B
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...")
|
|
}
|
|
}
|