package version import ( "fmt" "runtime" ) // gitDescribe : Git's "git describe --always --dirty" output var gitDescribe = "" // GoVersion : The go version used to compile this binary var GoVersion = runtime.Version() // OsArch : The OS and archetcture used for this binary var OsArch = fmt.Sprintf("%s (%s)", runtime.GOOS, runtime.GOARCH) // VersionData : The Info struct of the version specification var VersionData = parseGitDescribe(gitDescribe) // VersionStr : The string representation of the version var VersionStr = VersionData.String()