Browse Source

Clarify KeepContext Go 1.7+ comment

Mux doesn't build on Go < 1.7 so the comment doesn't really need to
clarify anymore.
pull/525/head
Franklin Harding 6 years ago
parent
commit
d6708c0f9e
  1. 3
      mux.go

3
mux.go

@ -59,8 +59,7 @@ type Router struct { @@ -59,8 +59,7 @@ type Router struct {
// If true, do not clear the request context after handling the request.
//
// Deprecated: No effect when go1.7+ is used, since the context is stored
// on the request itself.
// Deprecated: No effect, since the context is stored on the request itself.
KeepContext bool
// Slice of middlewares to be called after a match is found

Loading…
Cancel
Save