Documentation ¶
Index ¶
Constants ¶
View Source
const (
// AnyRange represents any versions range.
AnyRange = "*"
)
Variables ¶
This section is empty.
Functions ¶
func MatchesRange ¶
MatchesRange parses the provided version and versions range, and checks if the provided version matches the provided range.
func MustMatchRange ¶
MustMatchRange delegates to MatchesRange but panics on error instead of returning the error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.