updater

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LatestVersion

func LatestVersion() (string, error)

LatestVersion checks the latest version on GitHub and returns it.

func Updater

func Updater(version string, executablePath string) (string, error)

Updater checks the latest version on GitHub and self-updates if there is a newer release. Returns the version string of the updated release, or an error if something went wrong.

Types

This section is empty.

Jump to

Keyboard shortcuts

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