Registry / serialization / jtacoma-uritemplates

jtacoma-uritemplates

JSON →
library1.0.0gogounverified

Package uritemplates is a level 4 implementation of RFC 6570 (URI Template).

go get github.com/jtacoma/uritemplates
INSTALL
IMPORT
SIG · JTACOMA-URITEMPLAT
J
jtacoma-uritemplates
serializationgov1.0.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.

uritemplates
github.com/jtacoma/uritemplates

Parse and expand a URI template

package main import ( "fmt" "github.com/jtacoma/uritemplates" ) func main() { template, _ := uritemplates.Parse("http://example.com/{foo}") result, _ := template.Expand(map[string]interface{}{"foo": "bar"}) fmt.Println(result) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
jtacoma-uritemplates — go get jtacoma-uritemplates · libregistry