An open API service indexing awesome lists of open source software.

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

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