Show pgweb version on start

This commit is contained in:
Anton Cherepanov 2014-11-15 17:06:06 +05:00
parent fac98dc970
commit 2393b81174

View File

@ -141,6 +141,7 @@ func startServer() {
router.GET("/history", API_History)
router.GET("/static/:type/:name", API_ServeAsset)
fmt.Println("Pgweb version", VERSION)
fmt.Println("Starting server...")
go router.Run(fmt.Sprintf("%v:%v", options.HttpHost, options.HttpPort))
}