version

package
v0.12.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2022 License: MIT Imports: 8 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL