mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-05-31 06:13: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")
|
fmt.Println("add events")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// start hook
|
||||||
s := robotgo.Start()
|
s := robotgo.Start()
|
||||||
|
// end hook
|
||||||
defer robotgo.End()
|
defer robotgo.End()
|
||||||
|
|
||||||
for ev := range s {
|
for ev := range s {
|
||||||
|
Loading…
Reference in New Issue
Block a user