Skip to content
Snippets Groups Projects
Commit d0ca5dce authored by Silvan's avatar Silvan
Browse files

update version display

parent 8dd3f977
No related branches found
Tags 0.1.9
No related merge requests found
......@@ -9,9 +9,10 @@ var (
Version string
//will be overwritten automatically by the build system
GitCommit string
GoVersion string
BuildTime string
GitCommit string
GoVersion string
BuildTime string
ExGoVersionInfo string
)
func FullVersion() string {
......@@ -19,7 +20,7 @@ func FullVersion() string {
Version, GitCommit, GetGoVersion(), BuildTime)
}
func GetGoVersion() string {
return fmt.Sprint(GoVersion,"(runtime: ", runtime.Version(), " ", runtime.GOOS, "/", runtime.GOARCH,")")
return fmt.Sprint(GoVersion, "(runtime: ", runtime.Version(), " ", runtime.GOOS, "/", runtime.GOARCH, ExGoVersionInfo, ")")
}
func AppVersion() string {
return fmt.Sprintf(`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment