whselfupdate

package
v0.0.0-...-ddbfcda Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnsupported = errors.New("Sorry, updating is not supported in this environment.")

Functions

func UpdateTo

func UpdateTo(assetURL, cmdPath string) error

Types

type Release

type Release interface {
	Version() semver.Version
	AssetURL() string
}

func DetectVersion

func DetectVersion(slug string, version string) (Release, bool, error)

Jump to

Keyboard shortcuts

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