Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Revision = "dev"
Revision is the global build revision from source control as used by the ServerHeader middleware, to be set using compiler ldflags like: `-ldflags="-X github.com/cuvva/cuvva-public-go/lib/version.Revision=$(git rev-parse HEAD)"`
View Source
var Truncated = genTruncated()
Truncated is up to 7 characters of Revision - so git hashes look as they are typically shown in GUIs, on GitHub, etc.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.