version

package
v0.10.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AnyRange represents any versions range.
	AnyRange = "*"
)

Variables

This section is empty.

Functions

func MatchesRange

func MatchesRange(version, versionsRange string) (bool, error)

MatchesRange parses the provided version and versions range, and checks if the provided version matches the provided range.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL