git.mills.io/prologic/zs@v0.0.0-20230312034417-0f4623afae54/version.go (about) 1 package main 2 3 import ( 4 "fmt" 5 ) 6 7 var ( 8 // Version release version 9 Version = "0.0.1" 10 11 // Commit will be overwritten automatically by the build system 12 Commit = "HEAD" 13 ) 14 15 // FullVersion display the full version and build 16 func FullVersion() string { 17 return fmt.Sprintf("%s@%s", Version, Commit) 18 }