You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reworked golang.org/x/net/context logic ( backward compatible of course ) and added some helper methods WithCancel, WithDeadline, WithTimeout and WithValue. When Go 1.7 comes out will update backend to seamlessly use http.Request's Context.
Added Context() and WithContext(ctx context.Context) methods on lars's Context to get and set the context, mirroring how it will work on the Go 1.7 Request object.
Change how request scoped variables are stored and accessed; replaces map[string]interface with golang.org/x/net/context, which is actually a little faster and will fit right into how Go 1.7 will do it ( this way I can keep lars compatible with standard http handlers )