From e95238f6a0e0ab175e1b5060c70ecd4ffc15c14f Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 9 Jul 2017 12:14:59 +1200 Subject: [PATCH] add log message on startup --- cmd/yatwiki-server/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/yatwiki-server/main.go b/cmd/yatwiki-server/main.go index cfe9140..f579777 100644 --- a/cmd/yatwiki-server/main.go +++ b/cmd/yatwiki-server/main.go @@ -27,6 +27,7 @@ func main() { } defer ws.Close() + fmt.Printf("YATWiki now listening on %s\n", *bindAddr) err = http.ListenAndServe(*bindAddr, ws) if err != nil { fmt.Fprintln(os.Stderr, err.Error())