Documentation
¶
Overview ¶
Package version provides build-time version information for the gonuget CLI. Version information is injected at build time using -ldflags.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version is the semantic version (e.g., "v0.1.0" or "dev") Version = "dev" // Commit is the git commit SHA (short form, e.g., "a1b2c3d" or "none") Commit = "none" // Date is the build timestamp (ISO 8601 format, e.g., "2025-11-04T12:00:00Z" or "unknown") Date = "unknown" // GoVersion is the Go version used to build the binary (optional) GoVersion = runtime.Version() )
Build-time variables injected via -ldflags -X
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.