mirror of
https://github.com/robotn/gohook.git
synced 2024-11-23 20:56:52 +08:00
749 B
749 B
gohook
package main
import (
"fmt"
"github.com/robotn/gohook"
)
func main() {
EvChan := hook.Start()
defer hook.End()
for ev := range EvChan {
fmt.Println(ev)
}
}
Based on libuiohook.