From 5aec38bdc6082a428da7a7a5e05d40946c65caa4 Mon Sep 17 00:00:00 2001 From: Jae Kwon Date: Mon, 9 Nov 2015 18:16:35 -0800 Subject: [PATCH] Fix DummyyApplication usage bug; Should call New --- example/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/main.go b/example/main.go index efd4761e..a86535d4 100644 --- a/example/main.go +++ b/example/main.go @@ -11,7 +11,7 @@ import ( func main() { // Start the listener - _, err := server.StartListener("tcp://127.0.0.1:8080", &DummyApplication{}) + _, err := server.StartListener("tcp://127.0.0.1:8080", NewDummyApplication()) if err != nil { Exit(err.Error()) }