version

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 3 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 {
	Major         string `json:"major,omitempty"`
	Minor         string `json:"minor,omitempty"`
	GitVersion    string `json:"gitVersion,omitempty"`
	GitCommit     string `json:"gitCommit,omitempty"`
	GitTreeState  string `json:"gitTreeState,omitempty"`
	BuildDate     string `json:"buildDate,omitempty"`
	GoVersion     string `json:"goVersion,omitempty"`
	AwsSdkVersion string `json:"awsSdkVersion,omitempty"`
	Compiler      string `json:"compiler,omitempty"`
	Platform      string `json:"platform,omitempty"`
}

Info defines the version.

func Get

func Get() Info

Get returns metadata and information regarding the version.

func (Info) String

func (info Info) String() string

String returns info as a human-friendly version string.

Jump to

Keyboard shortcuts

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