FIX: Small type in error message

This commit is contained in:
Theo 2018-10-10 15:16:55 +01:00
parent 0744dd163e
commit 74daca63b7

View File

@ -1107,7 +1107,7 @@ func ToStringMapInt64E(i interface{}) (map[string]int64, error) {
} }
if reflect.TypeOf(i).Kind() != reflect.Map { if reflect.TypeOf(i).Kind() != reflect.Map {
return m, fmt.Errorf("unable to cast %#v of type %T to map[string]int", i, i) return m, fmt.Errorf("unable to cast %#v of type %T to map[string]int64", i, i)
} }
kind := reflect.TypeOf(i).Elem().Kind() kind := reflect.TypeOf(i).Elem().Kind()