version

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CodeVersion  string = "undefined"
	BuildVersion string = "undefined"
	CodeCommit   string = "undefined"
	BuildTime    string = "undefined"
)

Functions

This section is empty.

Types

type Version

type Version struct {
	Version      string `json:"version"`
	Commit       string `json:"commit"`
	BuildTime    string `json:"build_time"`
	BuildVersion string `json:"build_version"`
	GoVersion    string `json:"go_version"`
}

func Details

func Details() Version

func (Version) String

func (v Version) String() string

String returns version details as pretty printed string.

Jump to

Keyboard shortcuts

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