# Functions
CompareVersion returns -1 if v < w, 1 if v > w, and 0 if v == w Incompatible versions are considered lower than non-incompatible ones.
FetchRetractions fetches the retractions for this module.
IsNewerVersion returns true if newversion is greater than oldversion in terms of semver.
Latest finds the latest major version of a module cached sets the Disable-Module-Fetch: true header pre controls whether to return modules which only contain pre-release versions.
List finds all the major versions of a module cached sets the Disable-Module-Fetch: true header.
MaxVersion returns the latest version of the module in the list.
NextMajor returns the next major version after the provided version.
Proxies returns the module proxies.
Query the module proxy for all versions of a module.
QueryPackage tries to find the module path for the provided package path it does so by repeatedly chopping off the last path element and trying to use it as a path.
Request sends requests to the module proxies in order and returns the first 200 response.
Updates finds updates for a set of specified modules.
# Variables
ErrNoVersions is returned when the proxy has no version for a module.
# Structs
Module contains the module path and versions.
Update reports a newer version of a module.
UpdateOptions specifies a set of modules to check for updates.
VersionRange is an inclusive version range.
# Type aliases
Retractions is a list of retracted versions.