Documentation
¶
Overview ¶
Package self implements the self commands: reporting what this binary is, and replacing it with a newer release.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUpdateDevelopmentBuild = errors.New("cannot self-update a development build; install a tagged release first") ErrUpdateBrewBuild = errors.New("gotpm was installed via Homebrew; update with: brew upgrade gotpm") )
Functions ¶
Types ¶
type BuildInfo ¶
BuildInfo describes the running binary. It is filled from the values stamped into the cmd package at build time.
func (BuildInfo) IsDevelopment ¶
IsDevelopment reports whether this binary was built without a release tag.
Click to show internal directories.
Click to hide internal directories.