Documentation ¶
Overview ¶
Package version holds the global version information for the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // internal identifier for logs and such; lowercase, no spaces Id = "urn" // display name for application; can have case and spaces Name = "URN persistent identifier service" // commit tag Tag = "" // commit hash Hash = "" // commit branch Branch = "" // source repository URL Repo = "" // version number; really just Tag without leading 'v' Version = func() string { if Tag == "" { return "0.0.0" } if len(Tag) > 1 && Tag[0] == 'v' && Tag[1] >= '0' && Tag[1] <= '9' { return Tag[1:] } return Tag }() )
Most of these variables are set by the Go linker; do not edit by hand
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.