Documentation
¶
Overview ¶
Package version is set at link time via -ldflags, with runtime fallback from build metadata.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Name is the full product name (readme §3). Name = "Docker Quick-ops" // Version is the release tag, module version from go install, or "dev". Version = "dev" // Commit is a short VCS revision, or "local" when unavailable. Commit = "" )
Functions ¶
func ShowModuleVersionNote ¶ added in v1.1.3
func ShowModuleVersionNote() bool
ShowModuleVersionNote is true when the reported version is not a plain v1.2.3 from release ldflags — e.g. go install reported pseudo-version. Then dq version prints a short extra line.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.