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
Click to show internal directories.
Click to hide internal directories.