package version

type Version struct {
	GitCommit string
	Version   string
}

var VersionInfo = unknownVersion

var unknownVersion = Version{
	GitCommit: "unknown git commit",
	Version: "unknown version",
}

package version

type Version struct {
	GitSHA  string
	Version string
}

var VersionInfo = Version{
	GitSHA:  gitSha,
	Version: version,
}

const gitSha = "unknown"
const version = "0.1"

--- 
+++ 
@@ -1,14 +1,13 @@
 package version
 
 type Version struct {
-	GitSHA  string
-	Version string
+	GitCommit string
+	Version   string
 }
 
-var VersionInfo = Version{
-	GitSHA:  gitSha,
-	Version: version,
+var VersionInfo = unknownVersion
+
+var unknownVersion = Version{
+	GitCommit: "unknown git commit",
+	Version: "unknown version",
 }
-
-const gitSha = "unknown"
-const version = "0.1"
Change back to git commit
