gin
gin copied to clipboard
fix: add BindingBody methods for formBody
README has this feature for binding.Form, however there is no method BindBody. Now formBinding doesn't implement interface binding.BindingBody
I added BindingBody methods and tests.
https://github.com/gin-gonic/gin/issues/3296
Or it'd better adjust README and delete c.ShouldBindBodyWith(&objA, binding.Form)
example?