Documentation
¶
Overview ¶
Package version holds build information. Release builds set the variables with -ldflags -X.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" Commit = "none" Date = "unknown" )
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct {
Version string `json:"version"`
Commit string `json:"commit"`
Date string `json:"date"`
GoVersion string `json:"goVersion"`
Platform string `json:"platform"`
}
Info describes the running binary.
Click to show internal directories.
Click to hide internal directories.