Versions in this module Expand all Collapse all v1 v1.0.0 Oct 16, 2023 Changes in this version + var ErrNotFound = errors.New("release not found") + var LatestVersionTips = "is already current and does not need an update" + var NopProxy = func(size int, r io.ReadCloser) io.ReadCloser + type Asset struct + Downloads int + LatestVersion string + Name string + Size int + URL string + func (a *Asset) Download() (string, error) + func (a *Asset) DownloadProxy(proxy Proxy) (string, error) + type Manager struct + Command string + func (m *Manager) Install(path string) error + func (m *Manager) InstallTo(path, dir string) error + type Proxy func(int, io.ReadCloser) io.ReadCloser + type Release struct + Assets []*Asset + Notes string + PublishedAt time.Time + URL string + Version string + func (r *Release) FindTarball(os, arch string) *Asset + func (r *Release) FindZip(os, arch string) *Asset + type Store interface + GetRelease func(version string) (*Release, error) + LatestReleases func() ([]*Release, error)