2 Commits

Author SHA1 Message Date
Dmitry Kutakov
a8002aaf3e fix after @thinkerou review 2019-01-24 15:30:42 +03:00
Dmitry Kutakov
ea237a8db3 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
2019-01-22 21:18:40 +03:00