3 ms·
My personal favorite is alice: https://github.com/justinas/alice https://github.com/justinas/alice It's not very much code (only ~90 lines inc. comments), but
by wyc 11y ago
My personal favorite is alice:
https://github.com/justinas/alice https://github.com/justinas/alice
It's not very much code (only ~90 lines inc. comments), but I think it establishes a pattern that makes everything very straightforward from authentication to logging to runtime analysis. Plays very nicely with gorilla. I think the more you let net/http shine, the better.