{"id":50254,"library":"go-redis-redis","title":"go-redis","description":"Package redis implements a Redis client.","status":"active","version":"6.15.9+incompatible","language":"go","source_language":null,"source_url":"https://github.com/go-redis/redis","tags":["redis","client","database","cache"],"install":[{"cmd":"go get github.com/go-redis/redis","lang":"bash","label":"Install github.com/go-redis/redis"}],"dependencies":[],"imports":[{"symbol":"redis","correct":"github.com/go-redis/redis"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/go-redis/redis\"\n)\n\nfunc main() {\n\tclient := redis.NewClient(&redis.Options{Addr: \"localhost:6379\"})\n\tpong, _ := client.Ping().Result()\n\tfmt.Println(pong)\n}","lang":"go","description":"Connect to a Redis server and ping it."},"warnings":[{"fix":"Update import to github.com/redis/go-redis/v9","message":"Version 6.x is outdated; use github.com/redis/go-redis/v9 for latest features.","severity":"breaking","affected_versions":">=6.0.0 <7.0.0"}],"env_vars":null,"search_vec":"'cach':13 'client':9,11 'databas':12 'go':2 'go-redi':1 'implement':6 'packag':4 'redi':3,5,8,10","created_at":"2026-06-15T04:46:19.872866+00:00","updated_at":"2026-06-15T04:46:19.872866+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":"https://github.com/go-redis/redis","docs":"https://pkg.go.dev/github.com/go-redis/redis#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-15","next_check":"2026-12-12","install_tag":null}}