first commit
This commit is contained in:
16
gateway/api/v1/version.go
Normal file
16
gateway/api/v1/version.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package main
|
||||
|
||||
//var (
|
||||
// // The full version string
|
||||
// Version = "0.0.7"
|
||||
//
|
||||
// // GitCommit is set with --ldflags "-X main.gitCommit=$(git rev-parse --short=8 HEAD)"
|
||||
// GitCommit string
|
||||
//)
|
||||
//
|
||||
//func GetVersion() string {
|
||||
// if GitCommit != "" {
|
||||
// return Version + "-" + GitCommit
|
||||
// }
|
||||
// return Version
|
||||
//}
|
||||
Reference in New Issue
Block a user