Registry / utility / cppforlife-go-semi-semantic

cppforlife-go-semi-semantic

JSON →
library0.0.0-20160921010311-576b6af77ae4gogounverified

A Go library for parsing and comparing semi-semantic version strings.

go get github.com/cppforlife/go-semi-semantic
INSTALL
IMPORT
SIG · CPPFORLIFE-GO-SEMI
C
cppforlife-go-semi-semantic
utilitygov0.0.0-20160921010311-576b6af77ae4
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.

semisemantic
github.com/cppforlife/go-semi-semantic

Parses two versions and compares them.

package main import ( "fmt" "github.com/cppforlife/go-semi-semantic" ) func main() { v1, _ := semisemantic.NewVersion("1.2.3") v2, _ := semisemantic.NewVersion("2.0.0") fmt.Println(v1.Compare(v2)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20160921010311-576b6af77ae4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
cppforlife-go-semi-semantic — go get cppforlife-go-semi-semantic · libregistry