{"id":50381,"library":"gorilla-context","title":"Gorilla Context","description":"Package context stores values shared during a request lifetime.","status":"active","version":"1.1.2","language":"go","source_language":null,"source_url":"https://github.com/gorilla/context","tags":["context","request","gorilla","web"],"install":[{"cmd":"go get github.com/gorilla/context","lang":"bash","label":"Install github.com/gorilla/context"}],"dependencies":[],"imports":[{"symbol":"context","correct":"github.com/gorilla/context"}],"quickstart":{"code":"package main\n\nimport (\n\t\"net/http\"\n\t\"github.com/gorilla/context\"\n)\n\nfunc main() {\n\tr, _ := http.NewRequest(\"GET\", \"/\", nil)\n\tcontext.Set(r, \"key\", \"value\")\n\tval := context.Get(r, \"key\")\n\tprintln(val.(string))\n}","lang":"go","description":"Store and retrieve request-scoped values"},"warnings":[{"fix":"Use the standard library context package instead","message":"Package is deprecated in favor of Go 1.7+ context package","severity":"breaking","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'context':2,4,12 'gorilla':1,14 'lifetim':11 'packag':3 'request':10,13 'share':7 'store':5 'valu':6 'web':15","created_at":"2026-06-15T04:51:24.485286+00:00","updated_at":"2026-06-15T04:51:24.485286+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/gorilla/context","github":"https://github.com/gorilla/context","docs":"https://pkg.go.dev/github.com/gorilla/context#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}