version

package
v2.14.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version    string         //nolint:gochecknoglobals // constant
	Structured semver.Version //nolint:gochecknoglobals // constant
)

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 GetExecutable added in v2.5.0

func GetExecutable() (string, error)

func Init added in v2.9.0

func Init(s, envKey string) (string, semver.Version)

Types

This section is empty.

Jump to

Keyboard shortcuts

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