Documentation ¶
Index ¶
Constants ¶
View Source
const CurrentVersion string = "v0.12.4"
Variables ¶
View Source
var LatestVersion string
Functions ¶
func GetOnlineVersion ¶ added in v0.12.1
func GetOnlineVersion()
func UpdateAvailable ¶ added in v0.12.1
func UpdateAvailable() bool
UpdateAvailable returns true or false, depending on whether not a new version is available. It always returns false if the OnlineVersion has not yet been fetched.
Types ¶
type GithubRelease ¶ added in v0.12.1
type GithubRelease struct { HTMLURL string `json:"html_url"` TagName string `json:"tag_name"` Name string `json:"name"` Body string `json:"body"` }
var LatestVersionInfo GithubRelease
Click to show internal directories.
Click to hide internal directories.