Versions in this module Expand all Collapse all v1 v1.5.4 May 1, 2026 Changes in this version + func IsTarget(value string) bool + func SetVerbose(enabled bool, writer io.Writer) + func VerboseEnabledForTest() bool + type Finder struct + Getter HTTPGetter + Tag string + Target Target + func (f Finder) Find() ([]string, error) + type HTTPGetter interface + Get func(url string) (*http.Response, error) + type LatestInfo struct + Tag string + func LatestVersion(target Target, getter HTTPGetter) (LatestInfo, error) + type Provider string + const ProviderForgejo + const ProviderGitLab + const ProviderGitea + type Target struct + Host string + Namespace string + Normalized string + Project string + Provider Provider + func ParseTarget(value string) (Target, error)