Registry / serialization / google-go-querystring

google-go-querystring

JSON →
library1.2.0gogounverified

Package go-querystring encodes Go structs into URL query strings.

go get github.com/google/go-querystring
INSTALL
IMPORT
SIG · GOOGLE-GO-QUERYSTR
G
google-go-querystring
serializationgov1.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.

querystring
github.com/google/go-querystring

Encodes a struct into URL query parameters.

import "github.com/google/go-querystring/query" func main() { type Options struct { Name string `url:"name"` Age int `url:"age"` } v, _ := query.Values(Options{Name: "Alice", Age: 30}) fmt.Println(v.Encode()) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
google-go-querystring — go get google-go-querystring · libregistry