mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-05-29 21:43:55 +00:00
update example, add godoc
This commit is contained in:
parent
76fa65b35a
commit
7b3cc5a7a2
@ -30,7 +30,9 @@ func addEvent() {
|
||||
fmt.Println("add events")
|
||||
}
|
||||
|
||||
// start hook
|
||||
s := robotgo.Start()
|
||||
// end hook
|
||||
defer robotgo.End()
|
||||
|
||||
for ev := range s {
|
||||
|
Loading…
Reference in New Issue
Block a user