update example and readme code

This commit is contained in:
vcaesar 2019-07-28 14:12:01 -04:00
parent 97c6ba2890
commit ec680ecf20
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ func main() {
defer hook.End()
for ev := range EvChan {
fmt.Println(ev)
fmt.Println("hook: ", ev)
}
}
```

View File

@ -29,7 +29,7 @@ func base() {
defer hook.End()
for ev := range EvChan {
fmt.Println(ev)
fmt.Println("hook: ", ev)
}
}