From 043dc226dce92d46c72f56a512f55d93a7c9c90d Mon Sep 17 00:00:00 2001 From: hoteas Date: Tue, 22 Aug 2017 09:15:20 +0000 Subject: [PATCH] demo --- example/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/example/main.go b/example/main.go index c9dcf1f..0d7967b 100644 --- a/example/main.go +++ b/example/main.go @@ -12,9 +12,10 @@ func main() { appIns := hotime.Application{} i := 0 - appIns.SetConnectListener(func(context hotime.Context) bool { + appIns.SetConnectListener(func(context *hotime.Context) bool { fmt.Println(i) i++ + //this.HandlerStr = "/test.html" return true })