version

package
v2.3.7 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version string

Version is a "vSEMVER" string, and is either populated at build-time using `--ldflags -X`, or at init()-time by inspecting the binary's own debug info.

Functions

func Structured added in v2.3.7

func Structured() semver.Version

Structured is a structured semver.Version value, and and is based on Version.

The reason that this parsed dynamically instead of once at init()-time is so that some of the unit tests can adjust string Version and see theat reflected in Structured.

Types

This section is empty.

Jump to

Keyboard shortcuts

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