mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-24 10:19:01 +00:00
update example, add godoc
This commit is contained in:
parent
76fa65b35a
commit
7b3cc5a7a2
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue