From 5563e93efdcdf29362f3e2f5d595bdb584410a70 Mon Sep 17 00:00:00 2001 From: jake Date: Tue, 30 Sep 2025 17:23:31 -0400 Subject: [PATCH] working locally --- lazy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lazy.go b/lazy.go index 667e5d6..6c38fe0 100644 --- a/lazy.go +++ b/lazy.go @@ -172,7 +172,7 @@ func RandomStruct(c StructConfig) (*StructMock, error) { //convert reflect.Value to []any retStructs := make([]any, 0) - for x := 0; x < c.RowCount; x++ { + for x := 0; x < filled.Len(); x++ { retStructs = append(retStructs, filled.Index(x).Interface()) }