gin icon indicating copy to clipboard operation
gin copied to clipboard

fix: add BindingBody methods for formBody

Open Gasoid opened this issue 2 years ago • 0 comments

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?

Gasoid avatar Sep 05 '22 13:09 Gasoid