mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
feat: add ParseFailoverURL (#3362)
* add ParseFailoverURL for FailoverOptions * fix 2 warning Co-authored-by: Nedyalko Dyakov <1547186+ndyakov@users.noreply.github.com>
This commit is contained in:
@ -359,7 +359,7 @@ func ExampleMapStringStringCmd_Scan() {
|
||||
// Get the map. The same approach works for HmGet().
|
||||
res := rdb.HGetAll(ctx, "map")
|
||||
if res.Err() != nil {
|
||||
panic(err)
|
||||
panic(res.Err())
|
||||
}
|
||||
|
||||
type data struct {
|
||||
@ -392,7 +392,7 @@ func ExampleSliceCmd_Scan() {
|
||||
|
||||
res := rdb.MGet(ctx, "name", "count", "empty", "correct")
|
||||
if res.Err() != nil {
|
||||
panic(err)
|
||||
panic(res.Err())
|
||||
}
|
||||
|
||||
type data struct {
|
||||
|
Reference in New Issue
Block a user