example/_server: Add a kind message

This commit is contained in:
Hajime Hoshi 2015-06-04 01:25:36 +09:00
parent 115c97f296
commit 2e581abe2b

View File

@ -143,5 +143,6 @@ func main() {
http.HandleFunc("/main.js", serveMainJS) http.HandleFunc("/main.js", serveMainJS)
http.HandleFunc("/main.js.map", serveMainJSMap) http.HandleFunc("/main.js.map", serveMainJSMap)
http.Handle("/", http.FileServer(http.Dir(rootPath))) http.Handle("/", http.FileServer(http.Dir(rootPath)))
fmt.Printf("http://localhost:%d/\n", *port)
log.Fatal(http.ListenAndServe(":"+strconv.Itoa(*port), nil)) log.Fatal(http.ListenAndServe(":"+strconv.Itoa(*port), nil))
} }