Registry / utility / masahiro331-go-mvn-version

masahiro331-go-mvn-version

JSON →
library0.0.0-20210429150710-d3157d602a08gogounverified

A library for parsing and comparing Maven version strings.

go get github.com/masahiro331/go-mvn-version
INSTALL
IMPORT
SIG · MASAHIRO331-GO-MVN
M
masahiro331-go-mvn-version
utilitygov0.0.0-20210429150710-d3157d602a08
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

mvnversion
github.com/masahiro331/go-mvn-version

Compare two Maven versions.

package main import ( "fmt" "github.com/masahiro331/go-mvn-version" ) func main() { v1, _ := mvnversion.NewVersion("1.0.0") v2, _ := mvnversion.NewVersion("2.0.0") fmt.Println(v1.LessThan(v2)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20210429150710-d3157d602a08latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
masahiro331-go-mvn-version — go get masahiro331-go-mvn-version · libregistry