Documentation
¶
Overview ¶
Package version provides version information for Ralph.
Version information is set at build time using ldflags:
go build -ldflags "-X github.com/patbaumgartner/copilot-ralph/pkg/version.Version=1.0.0"
When built via "go install" (no ldflags), the module version embedded by the Go toolchain is read from runtime/debug.ReadBuildInfo as a fallback.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version is the semantic version number Version = "dev" // Commit is the git commit hash Commit = "unknown" // BuildDate is the build timestamp BuildDate = "unknown" // GoVersion is the Go version used to build GoVersion = "unknown" )
Build-time variables set via ldflags
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.