3 ms·
Goji (https://goji.io/ https://goji.io/) is a really nice middle ground between bare net/http (and writing your own boilerplate over and over) without any depen
by elithrar 12y ago
Goji (https://goji.io/ https://goji.io/) is a really nice middle ground between bare net/http (and writing your own boilerplate over and over) without any dependency injection, fairly sane middleware chaining and no global request context map (so no need for locks!).
I've been playing around a fair bit with Goji and gocraft/web over the last week and enjoy both their approaches, and may end up porting over a gorilla/* + net/http project to get some sanity out of my middleware and request context.