Registry / utility / anchore-go-version

anchore-go-version

JSON →
library1.2.1gogounverified

Provides version comparison and constraint checking for Go applications.

go get github.com/anchore/go-version
INSTALL
IMPORT
SIG · ANCHORE-GO-VERSION
A
anchore-go-version
utilitygov1.2.1
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.

version
github.com/anchore/go-version

Parses a version and checks it against a constraint.

import "github.com/anchore/go-version" v, _ := version.NewVersion("1.2.3") constraint, _ := version.NewConstraint(">= 1.0.0") fmt.Println(constraint.Check(v))
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
16
Meta
1
OpenAI (training)
1
Resources
anchore-go-version — go get anchore-go-version · libregistry