Add todo.

This commit is contained in:
Vladimir Mihailenco 2013-02-02 15:30:58 +02:00
parent 5a90e32c63
commit 503a8c8734
1 changed files with 2 additions and 2 deletions

View File

@ -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)