Versions in this module Expand all Collapse all v1 v1.0.2 Sep 11, 2020 Changes in this version + const SHASumSuffix + const UserAgent + func BinDir(product string) (string, error) + func CheckBytes(fileName string, b []byte) error + func CheckFile(fpath string) error + func CurrentActive(product string) (version string, link string, target string) + func ExtractZip(product, parentDir string, bts []byte) (string, error) + func GetSHASums(product, version string) (map[string][]byte, error) + func HTTPGet(url string) (*http.Response, error) + func HTTPGetBody(url string) ([]byte, error) + func InArray(arr []string, str string) bool + func LinkPath(product string) string + func ListInstalled(product string) ([]string, error) + func ProductVersionFromName(fileName string) (string, string) + func RemoveLink(product string) error + func SHASumLink(product, version string) string + type ExtraOptions struct + All bool + Beta bool + Ent bool + func GetOptions() ExtraOptions