diff --git a/entity/rows.go b/entity/rows.go index f4a7ff6c..dc30af7a 100644 --- a/entity/rows.go +++ b/entity/rows.go @@ -549,7 +549,7 @@ func reflectValueCandi(v reflect.Value) (map[string]fieldCandi, error) { v := v.Field(i) if v.Kind() == reflect.Array { - v = v.Slice(0, v.Len()-1) + v = v.Slice(0, v.Len()) } result[name] = fieldCandi{