version

package
v3.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 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
	Capella
)

Variables

This section is empty.

Functions

func All added in v3.2.0

func All() []int

All returns a list of all known fork versions.

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