# go-redis go-redis ## Usage ``` go get github.com/redis/go-redis/v9 import "github.com/redis/go-redis/v9" rdb := redis.NewClient(&redis.Options{ Addr: "localhost:6379", Password: "", // 没有密码,默认值 DB: 0, // 默认DB 0 }) ``` ## Reference [docs](https://redis.uptrace.dev/zh/)