Versions in this module Expand all Collapse all v2 v2.0.1 Feb 19, 2024 v2.0.0 Feb 9, 2024 Changes in this version + const Organization + var DefaultHttpClient *http.Client + var DownloadUpdateTimeout = time.Duration(30) * time.Second + var HideProgressBar = false + var HideReleaseNotes = false + var VersionCheckTimeout = time.Duration(5) * time.Second + func GetToolVersionCallback(toolName, repoName string) func() (string, error) + func GetUpdateDirFromRepoCallback(toolName, dir, repoName string) func() error + func GetUpdateDirFromRepoNoErrCallback(toolName, dir, repoName string) func() + func GetUpdateToolCallback(toolName, version string) func() + func GetUpdateToolFromRepoCallback(toolName, version, repoName string) func() + func GetVersionDescription(current string, latest string) string + func GetpdtmParams(version string) string + func IsDevReleaseOutdated(current string, latest string) bool + func IsOutdated(current, latest string) bool + type AssetFormat uint + const Tar + const Unknown + const Zip + func IdentifyAssetFormat(assetName string) AssetFormat + func (a AssetFormat) FileExtension() string + type Tool struct + Assets map[string]string + Name string + Repo string + Version string Other modules containing this package github.com/wjlin0/pathScan