Browse Source

Merge commit 'cdee84d'

Kamil Kisiel 13 years ago
parent
commit
bf37eee315
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      doc.go

+ 2
- 2
doc.go View File

@ -74,7 +74,7 @@ served. Just call Clear() passing the request:
...or use ClearHandler(), which conveniently wraps an http.Handler to clear
variables at the end of a request lifetime.
The Router from the package gorilla/mux calls Clear(), so if you are using it
you don't need to clear the context manually.
The Routers from the package gorilla/mux and gorilla/pat calls Clear(),
so if you are using either of them you don't need to clear the context manually.
*/
package context

Loading…
Cancel
Save