package
0.9.2
Repository: https://github.com/wavesoftware/go-magetasks.git
Documentation: pkg.go.dev

# Functions

CompatibleRanges will resolve compatible ranges from a version resolver.
IsLatest does basic sanity checking on version and range, before executing provided resolver to answer if given version is the latest within the given version range.
IsLatestGivenReleases checks if given version is the latest within the given version range, using a list of provided releases.

# Constants

AnyVersion is a range that matches any released version.

# Variables

ErrIsNotValid when version data is malformed.
ErrRangeIsNotValid when given range is not valid.
ErrVersionIsNotValid when given version is not semantic.
ErrVersionOutsideOfRange when given version is outside of range.

# Interfaces

Resolver will resolve version string, and tell is that the latest artifact.

# Type aliases

IsLatestResolver is a func that returns true if given version is the latest one within given version range.