mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Remove deprecated Ring options
This commit is contained in:
@ -154,7 +154,7 @@ func ExampleClient() {
|
||||
}
|
||||
|
||||
func ExampleConn() {
|
||||
conn := rdb.Conn()
|
||||
conn := rdb.Conn(context.Background())
|
||||
|
||||
err := conn.ClientSetName(ctx, "foobar").Err()
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user