update

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const Repo = "gshireesh/imake"

Repo is the GitHub repository imake updates from.

Variables

This section is empty.

Functions

func Auto added in v0.13.0

func Auto(version string) (string, error)

Auto quietly self-updates in the background: at most one check per day, never for dev builds, disabled via IMAKE_NO_AUTOUPDATE=1. It returns the newly installed version, or "" when nothing happened; the new binary takes effect on the next run.

func Run

func Run(version string) error

Run replaces the running binary with the latest release.

Types

This section is empty.

Jump to

Keyboard shortcuts

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