3
0
mirror of https://github.com/gin-gonic/gin.git synced 2025-04-06 03:57:46 +08:00

3 Commits

Author SHA1 Message Date
thinkerou
4b68a5f12a
chore: update go.mod and remove space from copyright ()
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-28 10:42:28 +08:00
Dmitry Kutakov
393a63f3b0 Fix 'errcheck' linter warnings () 2019-10-27 13:58:59 +08:00
Dmitry Kutakov
0d50ce8597 refactor(form_mapping.go): mapping ptr, struct and map ()
* refactor(form_mapping.go): mapping ptr, struct and map

* fix  correct work with ptr - not create value if field is not set
* avoid allocations on strings.Split() - change to strings.Index()
* fix  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