2 ms·
Moving forward, of course, it's preferable to use the official context package: http://godoc.org/golang.org/x/net/context http://godoc.org/golang.org/x/net/cont
by de_dave 11y ago
Moving forward, of course, it's preferable to use the official context package: http://godoc.org/golang.org/x/net/context http://godoc.org/golang.org/x/net/context
- kylequest 11y agoIt complements Gorilla context. It's not a replacement because it doesn't solve the context problem for middleware (no way to pass net/context from middleware to your handler code).