{"id":76381,"library":"eko-gocache-v2","title":"GoCache","description":"Multi-backend cache library for Go with support for in-memory, Redis, and more.","status":"active","version":"2.3.1","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/v2","lang":"bash","label":"Install github.com/eko/gocache/v2"}],"dependencies":[],"imports":[{"symbol":"gocache","correct":"github.com/eko/gocache/v2"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/eko/gocache/v2\"\n\t\"github.com/eko/gocache/v2/store\"\n)\n\nfunc main() {\n\tcache := gocache.New(store.NewMemoryStore())\n\tcache.Set(\"key\", \"value\", nil)\n\tval, _ := cache.Get(\"key\")\n\tfmt.Println(val)\n}","lang":"go","description":"Create an in-memory cache, set and get a value"},"warnings":[],"env_vars":null,"search_vec":"'backend':4 'cach':5,18 'go':8 'gocach':1 'in-memori':12 'librari':6 'memori':14,20 'multi':3 'multi-backend':2 'redi':15,19 'store':21 'support':10","created_at":"2026-06-17T19:29:50.852282+00:00","updated_at":"2026-06-17T19:29:50.852282+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/v2#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}}