Registry / utility / leodido-go-urn

leodido-go-urn

JSON →
library1.4.0gogounverified

Package urn implements a URN (Uniform Resource Name) parser.

go get github.com/leodido/go-urn
INSTALL
IMPORT
SIG · LEODIDO-GO-URN
L
leodido-go-urn
utilitygov1.4.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.

urn
github.com/leodido/go-urn

Parse a URN string and access its components.

package main import ( "fmt" "github.com/leodido/go-urn" ) func main() { parsed, err := urn.Parse("urn:example:foo") if err != nil { panic(err) } fmt.Println(parsed.ID) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
leodido-go-urn — go get leodido-go-urn · libregistry