moving to append

This commit is contained in:
2025-09-26 16:25:46 -04:00
parent 428381545d
commit 75f6ef8b5b

View File

@@ -31,7 +31,7 @@ func GenerateRandomResults(query string, exampleObj any, keyVal any, rowCount in
rows := make([][]driver.Value, 0)
for y := 0; y < rowCount; y++ {
rows[y] = make([]driver.Value, 0)
rows = append(rows, make([]driver.Value, 0))
for x := 0; x < maxFieldCount; x++ {
field := retType.Field(x)
dbTag := field.Tag.Get("db")