OSDN Git Service

add utxo_opt algorithm (#1149)
[bytom/bytom-spv.git] / version / version.go
1 package version
2
3 var (
4         // The full version string
5         Version = "1.0.3"
6         // GitCommit is set with --ldflags "-X main.gitCommit=$(git rev-parse HEAD)"
7         GitCommit string
8 )
9
10 func init() {
11         if GitCommit != "" {
12                 Version += "-" + GitCommit[:8]
13         }
14 }