version

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL