selfupdate

package
v0.0.3 Latest Latest
Warning

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

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

Documentation

Overview

Package selfupdate replaces the running ageout binary with the latest release published on GitHub, via github.com/creativeprojects/go-selfupdate.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Update

func Update(ctx context.Context, current string) (updated bool, latest string, err error)

Update checks GitHub for a release newer than current and, if one exists, downloads it and replaces the running executable in place. current must be a semver version (as produced by the release build's -ldflags); dev builds have no meaningful version to compare against and will return an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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