render
render copied to clipboard
Make implementing Binder optional
Sometimes I don't need to validate anything in request.
Would you consider a PR where render.Bind accepts r *http.Request, v interface{}, and if v implements Bind() method only then execute it?
I was wondering the same thing! What did you end up doing?
I'm using gorilla for all my APIs and have this method written on my own.