binding
binding copied to clipboard
Martini handler for mapping and validating a raw request into a structure.
func mapForm(formStruct reflect.Value, form map[string][]string, formfile map[string][]*multipart.FileHeader, errors Errors) the last param is not a pointer,so if has errors,it don't get work
I think having type safe route values at least would really be an improvement I hope I haven't overlooked anything though... It could work with the struct tag "route:" or...
Thanks for the great work you've done with martini and its companions like binding! :) Now to the issue...It seems that it isn't possible to have a nested array of...
Currently the POST/PUT size is limited by the parseForm function in the http package (see https://golang.org/src/net/http/request.go#L834). However, the mulitform parser has a configurable limit (with MaxMemory), so why not apply...
In preparation for adding support for nested slices of structs #40 I thought I'd refactor the form mapping code that was mostly a single function. Now it's clearly split into...
I've just had a problem while trying to bind a struct with some dates on it like this `{"birthDate":"2015-02-19T00:00:00", "name": "name", "place": "Málaga"}` It evens doesn't show me any error......