Versions in this module Expand all Collapse all v1 v1.0.2 Mar 13, 2026 v1.0.1 Mar 13, 2026 Changes in this version + const Latest + func Compare(v1, v2 string) (int, error) + func CompareVersions(v1, v2 string) (int, error) + func ContainsVersion(versions []string, target string) bool + func FindMaxVersion(versions []string) (string, error) + func IsDowngrade(currentVersion, candidateVersion string) (bool, error) + func MatchesVersionPattern(pattern, target string) bool + func ParseVersion(version string) (*semver.Version, error) + type VersionInfo struct + ReleaseDate time.Time + Version string + func FilterByUpdateDelay(versions []VersionInfo, delay time.Duration) []VersionInfo