Registry /
utility / cppforlife-go-semi-semantic
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.