Documentation ¶ Index ¶ Constants func Auto(version string) (string, error) func Run(version string) error 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. Source Files ¶ View all Source files update.go Click to show internal directories. Click to hide internal directories.