Versions in this module Expand all Collapse all v0 v0.4.2 May 14, 2024 v0.4.1 Apr 11, 2024 Changes in this version + var ErrCurrentVersionIsLatest = fmt.Errorf("current version is the latest") + var ErrInvalidSemver = fmt.Errorf("invalid semver version") + var ErrNextVersionIsMajorBump = fmt.Errorf("next version is a major bump") + type SelfUpdater struct + func NewSelfUpdater(client *http.Client) *SelfUpdater + func (updater *SelfUpdater) UpdateSelf(ctx context.Context, currentVersion string) (string, error)