Merge pull request #65 from davetoxa/show_version

Show pgweb version on start
This commit is contained in:
Dan Sosedoff 2014-11-15 13:04:58 -06:00
commit a3dfdf7622

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))
}