Documentation
¶
Overview ¶
Package version provides variables which, when used correctly, provide build information about the application referencing this package. At compile time the appropriate linker flags must be passed:
go build -ldflags "-X axicode.axiom.co/watchmakers/axiomdb/internal/common/version.release=1.0.0"
Adapt the flags for all other exported variables.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildDateString ¶
func BuildDateString() string
BuildDateString is BuildDate formatted as RFC3339
func BuildUser ¶
func BuildUser() string
BuildUser is the username of the user who performed the build.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.