From 5ca3c35c1cac943cdc82b02a0e7a6d7fffe89acc Mon Sep 17 00:00:00 2001 From: vcaesar Date: Thu, 31 Oct 2019 11:08:50 -0400 Subject: [PATCH] update hook example --- example/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) } }