Browse Source

Fix DummyyApplication usage bug; Should call New

pull/1780/head
Jae Kwon 9 years ago
parent
commit
5aec38bdc6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      example/main.go

+ 1
- 1
example/main.go 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())
}


Loading…
Cancel
Save