Fix DummyyApplication usage bug; Should call New

This commit is contained in:
Jae Kwon 2015-11-09 18:16:35 -08:00
parent cce812b1fa
commit 5aec38bdc6
1 changed files with 1 additions and 1 deletions

View File

@ -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())
}