Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "0.2.7" Commit = "unknown" BuildTime = "unknown" LatestVersion = Version UpgradeURL = "" UpdateNotes = "" )
These values are overridden with -ldflags for release builds.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct {
Version string `json:"version"`
Commit string `json:"commit"`
BuildTime string `json:"build_time"`
GoVersion string `json:"go_version"`
SchemaVersion int `json:"schema_version"`
LatestVersion string `json:"latest_version"`
UpgradeURL string `json:"upgrade_url,omitempty"`
UpdateNotes string `json:"update_notes,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.