add log message on startup

This commit is contained in:
mappu 2017-07-09 12:14:59 +12:00
parent 1e367932ba
commit e95238f6a0

View File

@ -27,6 +27,7 @@ func main() {
} }
defer ws.Close() defer ws.Close()
fmt.Printf("YATWiki now listening on %s\n", *bindAddr)
err = http.ListenAndServe(*bindAddr, ws) err = http.ListenAndServe(*bindAddr, ws)
if err != nil { if err != nil {
fmt.Fprintln(os.Stderr, err.Error()) fmt.Fprintln(os.Stderr, err.Error())