selfupdate

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Updater

type Updater struct {
	CurrentVersion string `json:"current_version"`
	RepoURL        string `json:"repo_url"`
}

func NewUpdater

func NewUpdater(currentVersion string) *Updater

func (*Updater) CheckForUpdates

func (u *Updater) CheckForUpdates() (string, bool)

func (*Updater) GetUpdateURL

func (u *Updater) GetUpdateURL() string

Jump to

Keyboard shortcuts

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