mirror of
https://github.com/robotn/gohook.git
synced 2025-04-28 10:00:27 +08:00
783 B
783 B
gohook
Based on libuiohook
package main
import (
"fmt"
//"github.com/robotn/gohook"
"github.com/cauefcr/gohook"
)
func main() {
EvChan := hook.Start()
defer hook.End()
for ev := range EvChan {
fmt.Println(ev)
}
}