Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var VersionStringFunc = getStringFromVersionTxt
VersionStringFunc is the function that feeds the version string into GetVersion
Functions ¶
func GetStringFromFile ¶
GetStringFromFile returns the first line of the passed in file.
func GetVersion ¶
GetVersion reads the version.txt and returns the version as a semver.Version.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.