Documentation
¶
Index ¶
Constants ¶
View Source
const ( Name = "iterion" RepoURL = "https://github.com/SocialGouv/iterion" )
Variables ¶
View Source
var Commit = ""
Commit optionally carries a VCS revision (preferably short SHA). It can be set via -ldflags or inferred from Go build settings.
View Source
var Version = "dev"
Version is intended to be overridden at build time.
Example:
go build -ldflags "-X github.com/SocialGouv/iterion/internal/appinfo.Version=v0.1.0 -X github.com/SocialGouv/iterion/internal/appinfo.Commit=$(git rev-parse --short HEAD)"
Functions ¶
func FullVersion ¶
func FullVersion() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.