version

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	BuildDate    string `json:"BUILD_DATE"`
	Environment  string `json:"ENVIRONMENT"`
	GitCommit    string `json:"GIT_COMMIT"`
	GitTreeState string `json:"GIT_TREE_STATE"`
	GitVersion   string `json:"GIT_VERSION"`
}

Info represents metadata about current running instance

func GetInfo

func GetInfo() Info

GetInfo is a helper function that retrieves metadata about the currently running instance

Jump to

Keyboard shortcuts

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