The semver package provides the ability to work with Semantic Versions in Go.
Specifically it provides the ability to:
– Parse semantic versions
– Sort semantic versions
– Check if a semantic version fits within a set of constraints
– Optionally work with a v prefix
This package provides symbolic links that alias the following Go import paths to
github.com/Masterminds/semver:
– github.com/Masterminds/semver/v3
Aliasing Go import paths via symbolic links or http redirects is fragile. If
your Go code depends on this package, you should patch it to import directly
github.com/Masterminds/semver.