mirror of
https://github.com/redis/go-redis.git
synced 2025-07-25 08:21:55 +03:00
Remove internal errors package that clashes with std lib.
This commit is contained in:
@ -5,7 +5,7 @@ import (
|
||||
"fmt"
|
||||
"strconv"
|
||||
|
||||
"gopkg.in/redis.v5/internal/errors"
|
||||
"gopkg.in/redis.v5/internal"
|
||||
)
|
||||
|
||||
const (
|
||||
@ -18,7 +18,7 @@ const (
|
||||
|
||||
const defaultBufSize = 4096
|
||||
|
||||
var errScanNil = errors.RedisError("redis: Scan(nil)")
|
||||
const errScanNil = internal.RedisError("redis: Scan(nil)")
|
||||
|
||||
func Scan(b []byte, val interface{}) error {
|
||||
switch v := val.(type) {
|
||||
|
Reference in New Issue
Block a user