update example, add godoc

This commit is contained in:
vcaesar 2019-03-04 11:33:52 -04:00
parent 76fa65b35a
commit 7b3cc5a7a2

View File

@ -30,7 +30,9 @@ func addEvent() {
fmt.Println("add events")
}
// start hook
s := robotgo.Start()
// end hook
defer robotgo.End()
for ev := range s {