Versions in this module Expand all Collapse all v2 v2.10.1 Aug 18, 2023 v2.9.0 Aug 18, 2023 Changes in this version + func Exclude(pkgName, assetName, version string) bool + func GetFormat(assetName string) string + func ParseAssetInfos(pkgInfo *registry.PackageInfo, assetInfos []*AssetInfo) + func SetArch(assetName, lowAssetName string, assetInfo *AssetInfo) + func SetOS(assetName, lowAssetName string, assetInfo *AssetInfo) + func UpdateASTFile(file *ast.File, pkgs interface{}) error + type Arch struct + Arch string + Name string + type AssetInfo struct + Arch string + CompleteWindowsExt *bool + DarwinAll bool + Format string + OS string + Replacements map[string]string + Score int + Template string + func GetOSArch(goos, goarch string, assetInfos []*AssetInfo) *AssetInfo + func ParseAssetName(assetName, version string) *AssetInfo + type OS struct + Name string + OS string