version

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: GPL-3.0 Imports: 8 Imported by: 3

Documentation

Overview

Package version executes and returns the version string for the currently running process.

Index

Constants

View Source
const (
	Phase0 = iota
	Altair
	Bellatrix
)

Variables

This section is empty.

Functions

func BuildData

func BuildData() string

BuildData returns the git tag and commit of the current build.

func SemanticVersion

func SemanticVersion() string

SemanticVersion returns the Major.Minor.Patch version of this build.

func String

func String(version int) string

func Version

func Version() string

Version returns the version string of this build.

Types

This section is empty.

Jump to

Keyboard shortcuts

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