testing new length

This commit is contained in:
2025-09-30 17:17:45 -04:00
parent 0c4a1abb9a
commit d0ec9465e2

View File

@@ -172,7 +172,7 @@ func RandomStruct(c StructConfig) (*StructMock, error) {
//convert reflect.Value to []any
retStructs := make([]any, 0)
for x := 0; x < filled.Len(); x++ {
for x := 0; x < c.RowCount; x++ {
retStructs = append(retStructs, filled.Index(x).Interface())
}