From 00ee69ad0ca0b20067f33fd0d85a1e03f30f2efa Mon Sep 17 00:00:00 2001 From: root Date: Sat, 3 Nov 2018 01:54:41 +0000 Subject: [PATCH] update --- server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server.go b/server/server.go index 4c980dd..5e5379e 100644 --- a/server/server.go +++ b/server/server.go @@ -87,7 +87,7 @@ func Start(host string, port int) error { addr = strings.Replace(addr, "0.0.0.0", "", 1) host = strings.Replace(host, "0.0.0.0", "127.0.0.1", 1) } - fmt.Printf("server start on: %s", fmt.Sprintf("http://%s:%d", host, port)) + fmt.Printf("server start on: %s\n", fmt.Sprintf("http://%s:%d", host, port)) if err := http.ListenAndServe(addr, nil); err != nil { return fmt.Errorf("ListenAndServe: : %v", err)