Registry / utility / yosida95-uritemplate-v3

yosida95-uritemplate-v3

JSON →
library3.0.2gogounverified

Go implementation of URI Template (RFC 6570) for expanding URI templates with variable values.

go get github.com/yosida95/uritemplate/v3
INSTALL
IMPORT
SIG · YOSIDA95-URITEMPLA
Y
yosida95-uritemplate-v3
utilitygov3.0.2
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.

uritemplate
github.com/yosida95/uritemplate/v3

Expand a URI template with variables

package main import ( "fmt" "github.com/yosida95/uritemplate/v3" ) func main() { tpl, _ := uritemplate.New("http://example.com/{path}{?query}") result, _ := tpl.Expand(map[string]interface{}{"path": "foo", "query": "bar"}) fmt.Println(result) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
yosida95-uritemplate-v3 — go get yosida95-uritemplate-v3 · libregistry