mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Fix typo
This commit is contained in:
@ -183,7 +183,7 @@ func (cmd *Cmd) Int() (int, error) {
|
|||||||
case string:
|
case string:
|
||||||
return strconv.Atoi(val)
|
return strconv.Atoi(val)
|
||||||
default:
|
default:
|
||||||
err := fmt.Errorf("redis: unexpected type=%T for Int64", val)
|
err := fmt.Errorf("redis: unexpected type=%T for Int", val)
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user