Versions in this module Expand all Collapse all v0 v0.0.2 Jul 22, 2020 v0.0.1 Jul 21, 2020 Changes in this version + func ActivateVersion(app, version string) error + func DeleteVersion(app, version string) error + func DownloadFile(url, filepath string) error + func DownloadVersion(app, version string, asset *github.ReleaseAsset, d func(ms ...interface{})) (bool, error) + func FilterAsset(release *github.RepositoryRelease) *github.ReleaseAsset + func GetActiveVersion(app string) (string, error) + func GetArch() string + func GetHomeActiveDir(app string) (string, error) + func GetHomeDir(app string) (string, error) + func GetHomeTmpDir(app string) (string, error) + func GetHomeVersionDir(app, versoin string) (string, error) + func GetHomeVersionsDir(app string) (string, error) + func IsActiveVersion(app, version string) (bool, error) + func IsInstalledVersion(app, version string) (bool, string, error) + func IsSuitableAsset(assetName, arch, os string) bool + func PrepareHomeDir(app string) error + func Unzip(src string, dest string) ([]string, error) + type InstalledVersion struct + Active bool + Date time.Time + Version string + func ListInstalledVersions(app string) ([]InstalledVersion, error)