mirror of https://github.com/gin-gonic/gin.git
0d50ce8597
* refactor(form_mapping.go): mapping ptr, struct and map * fix #1672 correct work with ptr - not create value if field is not set * avoid allocations on strings.Split() - change to strings.Index() * fix #610 tag value "-" is mean ignoring field * struct fields mapped like json.Unmarshal * map fields mapped like json.Unmarshal * fix after @thinkerou review |
||
---|---|---|
.. | ||
binding.go | ||
binding_body_test.go | ||
binding_test.go | ||
default_validator.go | ||
form.go | ||
form_mapping.go | ||
form_mapping_benchmark_test.go | ||
json.go | ||
msgpack.go | ||
protobuf.go | ||
query.go | ||
uri.go | ||
validate_test.go | ||
xml.go | ||
yaml.go |