go-querystring
go-querystring copied to clipboard
go-querystring is Go library for encoding structs into URL query strings.
Hi there Authors, Maintainers and Collaborators, I stumbled upon #8 and saw that it was still open, I am learning golang these days so wanted to learn as well as...
Resolves #53 ``` // Structs can be encoded as JSON by including the "json" option in that fields // tag. The entire struct is then passed to encoding/json.Marshal where those...
Will be submitting a PR to add support for JSON encoding a nested struct field. A specific API endpoint I am working on requires a URL encoded form but one...
This PR introduces the combination of "brackets" and "numbered" option on slices to provide indexed brackets in the URL. Given ```go p := struct{ Values []string `url:"key,brackets,numbered"` }{ Values []string{"value0",...
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.0.11. Release notes Sourced from actions/cache's releases. v3.0.11 What's Changed Call out cache not saved on hit by @Phantsure in actions/cache#946 Update @actions/core to 1.10.0...
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.1.0. Release notes Sourced from actions/checkout's releases. v3.1.0 What's Changed Inject GitHub host to be able to clone from another GitHub instance by @peter-murray in...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.1.0 to 3.1.1. Release notes Sourced from codecov/codecov-action's releases. 3.1.1 What's Changed Update deprecation warning by @slifty in codecov/codecov-action#661 Create codeql-analysis.yml by @mitchell-codecov in codecov/codecov-action#593 build(deps): bump...
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.6 to 0.5.9. Release notes Sourced from github.com/google/go-cmp's releases. v0.5.9 Reporter changes: (#299) Adjust heuristic for line-based versus byte-based diffing (#306) Use value.TypeString in PathStep.String Code cleanup...
Hello. master. When using go-query, I thought that it would be good to have a spot separator in the array indexing (numberd option), so I added the source. `struct {...