struct rename

This commit is contained in:
2025-09-26 16:48:53 -04:00
parent 4573594c85
commit 4febf3d877

View File

@@ -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")
}