selfupdate

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultRepo = "clement-tourriere/debux"

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Repo           string
	CurrentVersion string
	TargetVersion  string
	InstallPath    string
	CheckOnly      bool
	Force          bool
	Stdout         io.Writer
}

type Result

type Result struct {
	Current     string
	Latest      string
	InstallPath string
	Updated     bool
	CheckOnly   bool
	UpToDate    bool
	Archive     string
}

func Run

func Run(ctx context.Context, opts Options) (Result, error)

Jump to

Keyboard shortcuts

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