From af4dc7f3f05fad8fe13edf0173a6dee5e4148bd3 Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Sun, 1 Jan 2023 16:53:09 -0500 Subject: rename server to router --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index fa81264..35b5b80 100644 --- a/main.go +++ b/main.go @@ -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() } -- cgit v1.2.3