https://github.com/gregoryv/semstr
Go package for parsing and comparing semantic version like strings
https://github.com/gregoryv/semstr
Last synced: 11 months ago
JSON representation
Go package for parsing and comparing semantic version like strings
- Host: GitHub
- URL: https://github.com/gregoryv/semstr
- Owner: gregoryv
- License: mit
- Created: 2024-06-08T20:44:00.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-09T06:10:40.000Z (about 2 years ago)
- Last Synced: 2025-02-05T07:19:32.619Z (over 1 year ago)
- Language: Go
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- License: license.txt
Awesome Lists containing this project
README
[semstr](https://pkg.go.dev/github.com/gregoryv/semstr) - Go package for parsing and comparing [semantic version](https://semver.org) like strings
Format is less stringent than semantic versioning to
accommodate more usecases.
[v]MAJOR[.MINOR[.PATCH[-PRERELEASE][+BUILD]]]
## Quick start
go get github.com/gregoryv/semstr
See [package examples](https://pkg.go.dev/github.com/gregoryv/semstr#pkg-examples)
Alternative similar package is
- https://pkg.go.dev/golang.org/x/mod/semver