upgrade

package
v1.20.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package upgrade contains functions to upgrade the executable.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckVersion

func CheckVersion(version, _ string) (bool, error)

CheckVersion checks whether a new version is available. Returns true if a newer version is available.

func Upgrade

func Upgrade(version, arch string) error

Upgrade downloads the latest executable and replaces the current one with it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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