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 ¶
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.
Click to show internal directories.
Click to hide internal directories.