1
0
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:
Vladimir Mihailenco
2020-04-19 15:40:07 +03:00
parent 2b060bb99d
commit 558263e5eb
3 changed files with 5 additions and 48 deletions

View File

@ -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 {