diff --git a/example/main.go b/example/main.go index c454a13..eddc31c 100644 --- a/example/main.go +++ b/example/main.go @@ -27,10 +27,10 @@ func add() { // base hook example func base() { - EvChan := hook.Start() + evChan := hook.Start() defer hook.End() - for ev := range EvChan { + for ev := range evChan { fmt.Println("hook: ", ev) } }