Move version definition into command package, include build timestamp, add /api/info endpoint
This commit is contained in:
8
pkg/command/version.go
Normal file
8
pkg/command/version.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package command
|
||||
|
||||
const VERSION = "0.5.2"
|
||||
|
||||
var (
|
||||
GitCommit string
|
||||
BuildTime string
|
||||
)
|
||||
Reference in New Issue
Block a user