Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "DEV"
Functions ¶
func CheckForUpdate ¶ added in v3.31.1
CheckForUpdate checks GitHub for the latest release and returns the latest version string and whether it is newer than currentVersion. Returns ("", false) silently on any error or if no update is available.
func FormatUpdateNudge ¶ added in v3.31.1
FormatUpdateNudge returns the nudge message for display.
Types ¶
type VersionCmd ¶
type VersionCmd struct{}
func (*VersionCmd) Run ¶
func (c *VersionCmd) Run() error
Click to show internal directories.
Click to hide internal directories.