updater

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForUpdate

func CheckForUpdate(currentVersion *semver.Version) *semver.Version

CheckForUpdate returns the latest available version if greater than the one running and it makes sense to check for an update, nil in all other cases

func ForceCheckForUpdate

func ForceCheckForUpdate(currentVersion *semver.Version) *semver.Version

ForceCheckForUpdate always returns the latest available version if greater than the one running, nil in all other cases

func NotifyNewVersionIsAvailable

func NotifyNewVersionIsAvailable(latestVersion string)

NotifyNewVersionIsAvailable prints information about the new latestVersion

Types

This section is empty.

Jump to

Keyboard shortcuts

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