Registry / utility / anchore-packageurl-go

anchore-packageurl-go

JSON →
library0.2.0gogounverified

Package packageurl implements the package-url spec for parsing and constructing purl strings.

go get github.com/anchore/packageurl-go
INSTALL
IMPORT
SIG · ANCHORE-PACKAGEURL
A
anchore-packageurl-go
utilitygov0.2.0
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.

packageurl
github.com/anchore/packageurl-go

Parse a package URL string

package main import ( "fmt" "github.com/anchore/packageurl-go" ) func main() { p, _ := packageurl.FromString("pkg:deb/debian/curl@7.50.3-1") fmt.Println(p.Name) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

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