mirror of
https://github.com/robotn/gohook.git
synced 2024-11-22 02:56:54 +08:00
update example and readme code
This commit is contained in:
parent
97c6ba2890
commit
ec680ecf20
@ -20,7 +20,7 @@ func main() {
|
||||
defer hook.End()
|
||||
|
||||
for ev := range EvChan {
|
||||
fmt.Println(ev)
|
||||
fmt.Println("hook: ", ev)
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -29,7 +29,7 @@ func base() {
|
||||
defer hook.End()
|
||||
|
||||
for ev := range EvChan {
|
||||
fmt.Println(ev)
|
||||
fmt.Println("hook: ", ev)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user