Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version is the semantic version (e.g., "1.0.0") 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 = runtime.Version() )
Build information. Values are injected at build time via ldflags.
Functions ¶
func IsPrerelease ¶
IsPrerelease returns true if the version is a prerelease. A prerelease version contains a hyphen followed by identifiers (e.g., 1.6.0-rc1).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.