# Functions
DefaultUpdater creates a new updater instance with default configuration.
DetectLatest detects the latest release of the slug (owner/repo).
DetectVersion detects the given release of the slug (owner/repo) from its version.
DisableLog disables to output logging messages in library.
EnableLog enables to output logging messages in library.
NewUpdater creates a new updater instance.
No description provided by the author
UncompressCommand uncompresses the given source.
No description provided by the author
UpdateCommand updates a given command binary to the latest version.
UpdateSelf updates the running executable itself to the latest version.
UpdateTo downloads an executable from assetURL and replace the current binary with the downloaded one.
# Structs
Config represents the configuration of self-update.
ECDSAValidator specifies a ECDSA validator for additional file validation before updating.
No description provided by the author
Release represents a release asset for current OS and arch.
SHA2Validator specifies a SHA256 validator for additional file validation before updating.
Updater is responsible for managing the context of self-update.
# Interfaces
Validator represents an interface which enables additional validation of releases.