diff --git a/lazy.go b/lazy.go index 9195290..51fa3f9 100644 --- a/lazy.go +++ b/lazy.go @@ -23,14 +23,14 @@ type MockResults struct { Rows [][]driver.Value } -type MockDetails struct { +type Config struct { Query string Example any Keys []any RowCount int } -func GenerateRandomResults(m MockDetails) (*MockResults, error) { +func GenerateRandomResults(m Config) (*MockResults, error) { if m.Example == nil { return nil, errors.New("example value cannot be nil") }