version

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	/*********Will auto update by ci build *********/
	Version   = "unknown"
	Commit    = "unknown"
	BuildDate = "unknown"
)

Functions

This section is empty.

Types

type Info

type Info struct {
	Commit    string `json:"commit"`
	Version   string `json:"version"`
	BuildDate string `json:"build_date"`
}

Info holds build information

func Get

func Get() Info

Get creates and initialized Info object

Jump to

Keyboard shortcuts

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