version

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: Apache-2.0, Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// application's name
	Name = "ci123chain"
	// application's version string
	Version = "<version>"
	// commit
	Commit = ""
	// build tags
	BuildTags = ""
)

Functions

func GetVersion

func GetVersion() string

Types

type Info

type Info struct {
	Name      string `json: "name" yaml:"name"`
	Version   string `json:"version" yaml:"version"`
	GitCommit string `json:"commit" yaml:"commit"`
	BuildTags string `json:"build_tags" yaml:"build_tags"`
	GoVersion string `json:"go" yaml:"go"`
}

func NewInfo

func NewInfo() Info

Jump to

Keyboard shortcuts

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