▲ 4 ▼ Wsgi middleware considered harmful
This was not written about Go middleware, but sums up some of my feelings about using context as a bag of values and pushing core application functions out into nested wrappers for http Handlers. Interesting to see that other languages have had similar problems.
Register to comment or vote on this story
See also
https://golangnews.com/stories/1071-revisiting-context-and-http-handler-for-go-1.7
https://golangnews.com/stories/716-go-concurrency-patterns-context