martini-api-example icon indicating copy to clipboard operation
martini-api-example copied to clipboard

using a func type instead of the Encoder interface

Open rif opened this issue 10 years ago • 1 comments

I made another version of your excelent example using a func type instead of the Encoder interface.

I don't know for sure if this complicates or simplifies your didactic article :)

rif avatar Feb 22 '14 16:02 rif

Thanks, I think I'll merge it in a separate branch, to show another way to achieve this.

mna avatar Feb 23 '14 19:02 mna