1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

refactor: remove unused context attribute from conn (#2150)

This commit is contained in:
Knut Zuidema
2022-07-13 07:49:28 +02:00
committed by GitHub
parent 9c34c5345f
commit 092a692384
3 changed files with 6 additions and 8 deletions

View File

@ -155,7 +155,7 @@ func ExampleClient() {
}
func ExampleConn() {
conn := rdb.Conn(context.Background())
conn := rdb.Conn()
err := conn.ClientSetName(ctx, "foobar").Err()
if err != nil {