mirror of https://github.com/go-redis/redis.git
Add todo.
This commit is contained in:
parent
5a90e32c63
commit
503a8c8734
|
@ -231,7 +231,7 @@ func _parseReply(rd reader, typ replyType) (interface{}, error) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return vals, nil
|
return vals, nil
|
||||||
case stringStringMap:
|
case stringStringMap: // TODO: Consider handling Nil values.
|
||||||
m := make(map[string]string, repliesNum/2)
|
m := make(map[string]string, repliesNum/2)
|
||||||
for i := int64(0); i < repliesNum; i += 2 {
|
for i := int64(0); i < repliesNum; i += 2 {
|
||||||
keyI, err := parseReply(rd)
|
keyI, err := parseReply(rd)
|
||||||
|
@ -255,7 +255,7 @@ func _parseReply(rd reader, typ replyType) (interface{}, error) {
|
||||||
m[key] = value
|
m[key] = value
|
||||||
}
|
}
|
||||||
return m, nil
|
return m, nil
|
||||||
case stringFloatMap:
|
case stringFloatMap: // TODO: Consider handling Nil values.
|
||||||
m := make(map[string]float64, repliesNum/2)
|
m := make(map[string]float64, repliesNum/2)
|
||||||
for i := int64(0); i < repliesNum; i += 2 {
|
for i := int64(0); i < repliesNum; i += 2 {
|
||||||
keyI, err := parseReply(rd)
|
keyI, err := parseReply(rd)
|
||||||
|
|
Loading…
Reference in New Issue