slice indexing

This commit is contained in:
2025-09-26 16:33:24 -04:00
parent 92b673cb46
commit b9a8c5cd47

View File

@@ -49,7 +49,7 @@ func GenerateRandomResults(query string, exampleObj any, keyVal []any, rowCount
} }
if field.Tag.Get("test") == "key" { if field.Tag.Get("test") == "key" {
rows[y] = append(rows[y], keyVal) rows[y] = append(rows[y], keyVal[y])
continue continue
} }