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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user