version

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package version is stamped by the build (-ldflags -X).

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "dev"   // SemVer without "v" for tagged builds
	Commit  = ""      // short commit
	Release = "false" // "true" only for release-pipeline builds (spec 8.4)
)

Functions

func Current

func Current() string

Current is the stamped version, else the module version a `go install ...@vX` build records, else "dev". A pseudo-version based on v0.0.0 is what a plain `go build` of an untagged checkout records; it names no release, so it counts as "dev".

Types

This section is empty.

Jump to

Keyboard shortcuts

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