1
0
Fork 0
mirror of https://github.com/Luzifer/badge-gen.git synced 2024-11-14 08:02:42 +00:00
badge-gen/vendor/github.com/gorilla/context/README.md
Knut Ahlers 820c81f62f
Switch to using dep for vendoring
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-01 22:01:18 +02:00

10 lines
659 B
Markdown

context
=======
[![Build Status](https://travis-ci.org/gorilla/context.png?branch=master)](https://travis-ci.org/gorilla/context)
gorilla/context is a general purpose registry for global request variables.
> Note: gorilla/context, having been born well before `context.Context` existed, does not play well
> with the shallow copying of the request that [`http.Request.WithContext`](https://golang.org/pkg/net/http/#Request.WithContext) (added to net/http Go 1.7 onwards) performs. You should either use *just* gorilla/context, or moving forward, the new `http.Request.Context()`.
Read the full documentation here: http://www.gorillatoolkit.org/pkg/context