{"id":73008,"library":"eko-gocache","title":"GoCache","description":"A multi-backend caching library for Go with support for in-memory, Redis, and other stores.","status":"active","version":"4.1.1+incompatible","language":"go","source_language":null,"source_url":"https://github.com/eko/gocache","tags":["cache","redis","memory","store"],"install":[{"cmd":"go get github.com/eko/gocache","lang":"bash","label":"Install github.com/eko/gocache"}],"dependencies":[],"imports":[{"symbol":"gocache","correct":"github.com/eko/gocache"}],"quickstart":{"code":"package main\n\nimport (\n\t\"context\"\n\t\"github.com/eko/gocache\"\n)\n\nfunc main() {\n\tcache := gocache.New(gocache.NewMemoryStore())\n\tcache.Set(context.Background(), \"key\", \"value\", nil)\n}","lang":"go","description":"Creates an in-memory cache and stores a key-value pair."},"warnings":[{"fix":"Use v4 import path and update code accordingly.","message":"v4 uses a different API than v3; not backward compatible.","severity":"breaking","affected_versions":">=4.0.0"}],"env_vars":null,"search_vec":"'backend':5 'cach':6,20 'go':9 'gocach':1 'in-memori':13 'librari':7 'memori':15,22 'multi':4 'multi-backend':3 'redi':16,21 'store':19,23 'support':11","created_at":"2026-06-17T18:46:33.077387+00:00","updated_at":"2026-06-17T18:46:33.077387+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/eko/gocache","github":"https://github.com/eko/gocache","docs":"https://pkg.go.dev/github.com/eko/gocache#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-17","next_check":"2026-12-14","install_tag":null}}