1
0
mirror of https://github.com/redis/go-redis.git synced 2025-08-01 16:06:54 +03:00

Update golangci-lint to v1.32

This commit is contained in:
Mitsuo Heijo
2020-11-17 23:08:15 +09:00
parent d4f01eda28
commit f5a1707d3c
7 changed files with 9 additions and 15 deletions

View File

@ -131,7 +131,7 @@ func ScanSlice(data []string, slice interface{}) error {
for i, s := range data {
elem := next()
if err := Scan([]byte(s), elem.Addr().Interface()); err != nil {
err = fmt.Errorf("redis: ScanSlice index=%d value=%q failed: %s", i, s, err)
err = fmt.Errorf("redis: ScanSlice index=%d value=%q failed: %w", i, s, err)
return err
}
}