render icon indicating copy to clipboard operation
render copied to clipboard

Make implementing Binder optional

Open ribice opened this issue 6 years ago • 1 comments

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?

ribice avatar Jun 16 '19 20:06 ribice

I was wondering the same thing! What did you end up doing?

fr3fou avatar Jan 08 '21 08:01 fr3fou

I'm using gorilla for all my APIs and have this method written on my own.

ribice avatar Oct 28 '22 15:10 ribice