bitxhub/version.go

22 lines
430 B
Go
Raw Normal View History

2020-03-29 21:32:01 +08:00
package bitxhub
import (
"fmt"
"runtime"
)
var (
// CurrentCommit current git commit hash
CurrentCommit = ""
// CurrentBranch current git branch
CurrentBranch = ""
// CurrentVersion current project version
CurrentVersion = "0.0.0"
// BuildDate compile date
BuildDate = ""
// GoVersion system go version
GoVersion = runtime.Version()
// Platform info
Platform = fmt.Sprintf("%s/%s", runtime.GOOS, runtime.GOARCH)
)