Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shyim/go-version
https://github.com/shyim/go-version
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/shyim/go-version
- Owner: shyim
- License: mpl-2.0
- Created: 2024-05-30T10:51:43.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-30T11:04:00.000Z (6 months ago)
- Last Synced: 2024-10-12T09:16:05.952Z (about 1 month ago)
- Language: Go
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Versioning Library for Go
This is a fork of [hashicorp/go-version](https://github.com/hashicorp/go-version) with some improvments.
## Difference to the original library
- Added caret (^) and tilde (~) support
- Comparing of pre-release versions (e.g. 1.0.0-alpha.1 < 1.0.0-alpha.2)
- Constriant to a specific version (e.g. 1.0.0) without operators
- Allow to parse constraints with only one delimitier `|` instead of `||`