{"id":75337,"library":"redis-v4","title":"Redis Client v4","description":"A Go client for the Redis key-value store, version 4.","status":"active","version":"4.2.4","language":"go","source_language":null,"source_url":null,"tags":["redis","client","database","cache","key-value"],"install":[{"cmd":"go get gopkg.in/redis.v4","lang":"bash","label":"Install gopkg.in/redis.v4"}],"dependencies":[],"imports":[{"symbol":"redis","correct":"gopkg.in/redis.v4"}],"quickstart":{"code":"package main\n\nimport \"gopkg.in/redis.v4\"\n\nfunc main() {\n\tclient := redis.NewClient(&redis.Options{\n\t\tAddr: \"localhost:6379\",\n\t})\n\tclient.Set(\"key\", \"value\", 0).Result()\n}","lang":"go","description":"Connects to Redis and sets a key-value pair."},"warnings":[{"fix":"Use gopkg.in/redis.v8 or github.com/go-redis/redis/v8.","message":"Version 4 is outdated; consider upgrading to v8 or later for new features and security fixes.","severity":"breaking","affected_versions":">=4.0.0 <5.0.0"}],"env_vars":null,"search_vec":"'4':15 'cach':19 'client':2,6,17 'databas':18 'go':5 'key':11,21 'key-valu':10,20 'redi':1,9,16 'store':13 'v4':3 'valu':12,22 'version':14","created_at":"2026-06-17T19:15:35.802089+00:00","updated_at":"2026-06-17T19:15:35.802089+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/go-redis/redis","github":null,"docs":"https://pkg.go.dev/gopkg.in/redis.v4#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database"],"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}}