Documentation
¶
Index ¶
Constants ¶
View Source
const ( Version = "0.0.1" GitCommit = "e59e261" BuildTime = "unknown" )
Variables ¶
This section is empty.
Functions ¶
func GetVersionJSON ¶
func GetVersionJSON() string
func GetVersionString ¶
func GetVersionString() string
Types ¶
type Info ¶
type Info struct {
Version string `json:"version"`
GitCommit string `json:"git_commit"`
BuildTime string `json:"build_time"`
GoVersion string `json:"go_version"`
GoOS string `json:"go_os"`
GoArch string `json:"go_arch"`
BuildFlags string `json:"build_flags,omitempty"`
}
func GetVersionInfo ¶
func GetVersionInfo() Info
Click to show internal directories.
Click to hide internal directories.