Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // GitTag // NOTE: The $Format strings are replaced during 'git archive' thanks to the // companion .gitattributes file containing 'export-subst' in this same // directory. See also https://git-scm.com/docs/gitattributes GitTag = "v0.0.0-master+$Format:%h$" // git describe --long --tags --dirty --tags --always BuildTime = "1970-01-01T00:00:00Z" // build date in ISO8601 format, output of $(date -u +'%Y-%m-%dT%H:%M:%SZ') GitHash = "$Format:%H$" // sha1 from git, output of $(git rev-parse HEAD) ServiceName = filepath.Base(os.Args[0]) ServiceDisplayName = filepath.Base(os.Args[0]) ServiceDescription = "" ServiceId = "" )
Functions ¶
This section is empty.
Types ¶
type Version ¶
type Version struct { Major int Minor int Patch int PreRelease string // NOTE: The $Format strings are replaced during 'git archive' thanks to the // companion .gitattributes file containing 'export-subst' in this same // directory. See also https://git-scm.com/docs/gitattributes // git describe --long --tags --dirty --tags --always // "v0.0.0-master+$Format:%h$" RawVersion string // build date in ISO8601 format, output of $(date -u +'%Y-%m-%dT%H:%M:%SZ') // "1970-01-01T00:00:00Z" BuildTime string // sha1 from git, output of $(git rev-parse HEAD) // "$Format:%H$" GitHash string MetaData []string // take effect when PreRelease contains devel }
Click to show internal directories.
Click to hide internal directories.