first commit
This commit is contained in:
16
service/offline-push/version.go
Normal file
16
service/offline-push/version.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package version
|
||||
|
||||
//var (
|
||||
// // The full version string
|
||||
// Version = "0.0.2"
|
||||
//
|
||||
// // 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