moving to append
This commit is contained in:
2
lazy.go
2
lazy.go
@@ -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")
|
||||
|
Reference in New Issue
Block a user