package
Version:
v0.5.3
Opens a new window with list of versions in this module.
Published: Mar 12, 2024
License: MPL-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package versions provide helper functions for version constraint matching.
ErrCheck indicates the version doesn't match the constraint for any reason.
Check checks if version matches the provided constraint and fails otherwise.
For just checking if they match, use the Match function.
Match checks if version matches the given constraint.
It only returns an error in the case of invalid version or constraint string.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.