package version // This file is generated automatically by versionManager.exe. // DO NOT EDIT THIS FILE. // Any changes made to this file will be overwritten the next time versionManager.exe is run. import "fmt" // Version is a struct that contains the version number type Version struct { Major int Minor int Patch int Build int } // version variable that will be set at build time by versionManager.exe // *** DO NOT EDIT *** var versionNumber Version = Version{0, 0, 0, 44} // GetFullVersion returns the full version number as a string func GetFullVersion() string { return fmt.Sprintf("%d.%d.%d.%d", versionNumber.Major, versionNumber.Minor, versionNumber.Patch, versionNumber.Build) } // GetMajorVersion returns the major version number as a string func GetMajorVersion() string { return fmt.Sprintf("%d", versionNumber.Major) } // GetMinorVersion returns the minor version number as a string func GetMinorVersion() string { return fmt.Sprintf("%d", versionNumber.Minor) } // GetPatchVersion returns the patch version number as a string func GetPatchVersion() string { return fmt.Sprintf("%d", versionNumber.Patch) } // GetBuildVersion returns the build version number as a string func GetBuildVersion() string { return fmt.Sprintf("%d", versionNumber.Build) }