Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrModuleIgnored = errors.New("module ignored")
ErrModuleIgnored is returned when a module is ignored for version check.
View Source
var ErrNoVersionAvailable = errors.New("no version available")
ErrNoVersionAvailable is returned when no version found for a module.
Functions ¶
This section is empty.
Types ¶
type ModParser ¶ added in v0.3.0
type ModParser struct {
// contains filtered or unexported fields
}
ModParser parses go.mod.
func NewModParser ¶ added in v0.3.0
NewModParser creates a new ModParser.
type PackageResult ¶
type PackageResult struct { Path string LocalVersion *semver.Version AvailableVersions []*semver.Version Dir string }
PackageResult contains module specific information.
Click to show internal directories.
Click to hide internal directories.