version

package
v0.4.10-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: ISC Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVersion

func GetVersion() string

GetVersion returns the application version as a properly formed string per the semantic versioning 2.0.0 spec (http://semver.org/).

Types

type Ver

type Ver struct {
	Version string `json:"version"`
	Commit  string `json:"commit"`
	Tag     string `json:"tag"`
	Date    string `json:"date"`
	BuiltBy string `json:"builtBy"`
}

func GetExtendedVersion

func GetExtendedVersion() Ver

Jump to

Keyboard shortcuts

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