Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.travis.yml | H A D | 17-Aug-2016 | 304 | |||
LICENSE | H A D | 17-Aug-2016 | 1.4 KiB | |||
README.md | H A D | 17-Aug-2016 | 659 | |||
context.go | H A D | 17-Aug-2016 | 3.5 KiB | |||
context_test.go | H A D | 17-Aug-2016 | 3.2 KiB | |||
doc.go | H A D | 17-Aug-2016 | 2.8 KiB |
README.md
1context 2======= 3[![Build Status](https://travis-ci.org/gorilla/context.png?branch=master)](https://travis-ci.org/gorilla/context) 4 5gorilla/context is a general purpose registry for global request variables. 6 7> Note: gorilla/context, having been born well before `context.Context` existed, does not play well 8> 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()`. 9 10Read the full documentation here: http://www.gorillatoolkit.org/pkg/context 11