form
form copied to clipboard
A Form Encoding & Decoding Package for Go
👋🏻 I have an API that expects data to be sent like so: ``` services[]=A&services[]=B ``` How can I achieve this? Currently the default behaviour appears to number each element...
It looks like the tests are failing on Go 1.17 and up around parsing semicolons. There are a couple ways to resolve - one of them is using the Go...
As of go 1.17, the net/http and net/url packages no longer accept ';' as a valid separator. See https://golang.org/doc/go1.17#semicolons for more information. In order to build this package with go...
Please tag commit `9aeb3cf` with `v1.5.2`. It simplify the lib usage with go mod and unlocks the latest.
Please review and merge the changes ,This is part of the Ubuntu distribution for ppc64le. This helps us simplify testing later when distributions are re-building and re-releasing. For more info...
The library fails to decode a struct if field is missing. E.g. I do have a struct ```go type TokenExchange struct { Type string `form:"grant_type"` Code string `form:"code"` } ```...
Is possible parse anonimous fields without prefix if it's tag ommited or empty string (like json)? Example: ```go package main import ( "encoding/json" "fmt" "github.com/ajg/form" ) type T1 struct {...