diff options
author | Julio Capote <jcapote@gmail.com> | 2023-01-01 21:53:09 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2023-01-01 21:53:09 +0000 |
commit | af4dc7f3f05fad8fe13edf0173a6dee5e4148bd3 (patch) | |
tree | 100caca9cb134ab00f73c60c0ed5bb4adabd12fc /main.go | |
parent | 2969956f7eac5fb18fe3bcad24bdc08ee63497af (diff) | |
download | communique-af4dc7f3f05fad8fe13edf0173a6dee5e4148bd3.tar.gz |
rename server to router
Diffstat (limited to '')
-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() } |