Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCurrentVersionIsLatest = fmt.Errorf("current version is the latest")
View Source
var ErrInvalidSemver = fmt.Errorf("invalid semver version")
View Source
var ErrNextVersionIsMajorBump = fmt.Errorf("next version is a major bump")
Functions ¶
This section is empty.
Types ¶
type SelfUpdater ¶
type SelfUpdater struct {
// contains filtered or unexported fields
}
func NewSelfUpdater ¶
func NewSelfUpdater(client *http.Client) *SelfUpdater
func (*SelfUpdater) UpdateSelf ¶
Click to show internal directories.
Click to hide internal directories.