gin/binding
Dmitry Kutakov 0d50ce8597 refactor(form_mapping.go): mapping ptr, struct and map (#1749)
* 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
2019-03-03 14:39:43 +08:00
..
2018-11-06 09:49:45 +08:00
2018-11-22 09:29:48 +08:00
2019-01-18 09:32:53 +08:00
2018-11-05 14:17:04 +08:00
2018-11-22 09:29:48 +08:00
2018-11-06 09:49:45 +08:00