1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

Merge branch 'v5'

This commit is contained in:
Vladimir Mihailenco
2017-03-04 11:02:50 +02:00
3 changed files with 13 additions and 8 deletions

View File

@ -445,7 +445,7 @@ func (cmd *StringCmd) Result() (string, error) {
}
func (cmd *StringCmd) Bytes() ([]byte, error) {
return []byte(cmd.val), cmd.err
return cmd.val, cmd.err
}
func (cmd *StringCmd) Int64() (int64, error) {