mirror of
https://github.com/gomods/athens
synced 2026-02-12 21:28:08 +00:00
* dep ensure -v -update github.com/gocraft/work * rm -rf vendor/github.com/garyburd * sed /garyburd/redigo / gomodule/redigo * dont constrain redigo version * update redigo ver * rm deps * update deps * add vendor
context
gorilla/context is a general purpose registry for global request variables.
Note: gorilla/context, having been born well before
context.Contextexisted, does not play well with the shallow copying of the request thathttp.Request.WithContext(added to net/http Go 1.7 onwards) performs. You should either use just gorilla/context, or moving forward, the newhttp.Request.Context().
Read the full documentation here: http://www.gorillatoolkit.org/pkg/context
