Registry / serialization / pasztorpisti-qs

pasztorpisti-qs

JSON →
library0.0.0-20171216220353-8d6c33ee906cgogounverified

A Go package for marshaling and unmarshaling structs to and from query strings, similar to encoding/json.

go get github.com/pasztorpisti/qs
INSTALL
IMPORT
SIG · PASZTORPISTI-QS
P
pasztorpisti-qs
serializationgov0.0.0-20171216220353-8d6c33ee906c
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.

qs
github.com/pasztorpisti/qs

Marshal a struct into a query string.

package main import ( "fmt" "github.com/pasztorpisti/qs" ) type Params struct { Name string `qs:"name"` Age int `qs:"age"` } func main() { p := Params{Name: "Alice", Age: 30} str, _ := qs.Marshal(&p) fmt.Println(str) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20171216220353-8d6c33ee906clatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
pasztorpisti-qs — go get pasztorpisti-qs · libregistry