Move version definition into command package, include build timestamp, add /api/info endpoint

This commit is contained in:
Dan Sosedoff
2015-05-05 00:34:23 -05:00
parent 0bd5360315
commit c0f3f027ae
6 changed files with 25 additions and 9 deletions

8
pkg/command/version.go Normal file
View File

@@ -0,0 +1,8 @@
package command
const VERSION = "0.5.2"
var (
GitCommit string
BuildTime string
)