Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { Version string `json:"version,omitempty"` GitCommit string `json:"gitCommit,omitempty"` GitTreeState string `json:"gitTreeState,omitempty"` BuildDate string `json:"buildDate,omitempty"` GoVersion string `json:"goVersion,omitempty"` Compiler string `json:"compiler,omitempty"` Platform string `json:"platform,omitempty"` }
func (*Info) JSONString ¶
JSONString returns the JSON representation of the version info.
Click to show internal directories.
Click to hide internal directories.