diff --git a/README.md b/README.md index 251729c..3bc97a7 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ func main() { defer hook.End() for ev := range EvChan { - fmt.Println(ev) + fmt.Println("hook: ", ev) } } ``` diff --git a/example/main.go b/example/main.go index 9b1a7e8..4c1ac72 100644 --- a/example/main.go +++ b/example/main.go @@ -29,7 +29,7 @@ func base() { defer hook.End() for ev := range EvChan { - fmt.Println(ev) + fmt.Println("hook: ", ev) } }