func BuildTime() time.Time {
	if !hasBuilt {
		Init()
	}
	return build.BuildTime
}
BuildTime gets the build time
package version
import (
	"time"
)
var (
	build    Build
	hasBuilt = false
)
type Build struct {
	Version      string    `json:"version,omitempty"`
	GitSHA       string    `json:"git,omitempty"`
	BuildTime    time.Time `json:"buildTime,omitempty"`
	TimeFallback string    `json:"buildTimeFallback,omitempty"`
}
func Init() {
	build.Version = version
	if len(gitSHA) >= 7 {
		build.GitSHA = gitSHA[:7]
	}
	var err error
	build.BuildTime, err = time.Parse(time.RFC3339, buildTime)
	if err != nil {
		build.TimeFallback = buildTime
	}
	hasBuilt = true
}
func GetBuild() Build {
	if !hasBuilt {
		Init()
	}
	return build
}
func Version() string {
	if !hasBuilt {
		Init()
	}
	return build.Version
}
func GitSHA() string {
	if !hasBuilt {
		Init()
	}
	return build.GitSHA
}