version

package
v0.0.0-...-2f5c09c Latest Latest
Warning

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

Go to latest
Published: Feb 16, 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 VersionSpec

type VersionSpec struct {
	Version       string `json:"version,omitempty"`
	VcsURL        string `json:"vcsurl,omitempty"`
	VcsRef        string `json:"vcsref,omitempty"`
	VcsCommitDate string `json:"vcscommitdate,omitempty"`
	VcsDirty      *bool  `json:"vcsdirty,omitempty"`
	GoVersion     string `json:"goversion,omitempty"`
	OS            string `json:"os,omitempty"`
	Arch          string `json:"arch,omitempty"`
	BuildDate     string `json:"buildtime,omitempty"`
}

func Version

func Version() VersionSpec

func (VersionSpec) String

func (v VersionSpec) String() string

Jump to

Keyboard shortcuts

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