Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoMod ¶
GoMod represents a Go Modules parser. Running LoadAndComputePairs with a filename will return a slice of parsed dependencies.
type Queryer ¶
A Queryer holds settings for a
func (*Queryer) GetLatestVersion ¶
GetLatestVersion returns the "latest" major version of a module, jumping across MVS boundaries: i.e. github.com/foo/bar => github.com/foo/bar/v2 in the case of one version bump github.com/foo/baz/v2 => github.com/foo/baz/v6 in the case of a large jump github.com/foo/quuz/v2 => github.com/foo/quuz/v2 in the case of no jump at all.
func (*Queryer) GetVersion ¶
GetVersion returns the proxy's information about a given version of a module. `module` in this case is a fully-disambiguated MVS name (github.com/foo/bar/v2), and `version` is a version identifier as defined in `https://blog.golang.org/publishing-go-modules#TOC_3.`