Go Version
Sort software version strings and evaluate version constraints.
hashicorp · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
In a new Go module, add github.com/hashicorp/go-version at v1.9.0. Compare a fictional release candidate with its final release.
What we tested
v1.9.0. Compare a fictional release candidate with its final release. Ordered the release candidate before the matching final release.