fix(wraper/util): added full list of supported type to switch cases
This commit is contained in:
parent
67c80a4786
commit
d4beb985e0
|
@ -357,7 +357,7 @@ func flattenData(data interface{}, round int, flat []interface{}) (f []interface
|
|||
|
||||
return flatData, nil
|
||||
|
||||
case reflect.Int32, reflect.Int64:
|
||||
case reflect.Uint8, reflect.Int8, reflect.Int32, reflect.Int64, reflect.Float32, reflect.Float64, reflect.Bool:
|
||||
flatData = append(flatData, data)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user