diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -56,9 +56,9 @@ func main() { // // External Http Server writer := &zapio.Writer{Log: logger, Level: zap.DebugLevel} defer writer.Close() - server := http.NewServer(registry) + router := http.NewRouter(registry) mainWg.Add(1) - go server.Start(writer) + go router.Start(writer) mainWg.Wait() } |