Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadAndParse ¶
Types ¶
type MockDB ¶
type MockDB struct {
// contains filtered or unexported fields
}
func (*MockDB) LoadTestSuite ¶
type Query ¶
type Query struct { Type string `json:"type"` ExpectedSQLKeyWord string `json:"sqlKeyword,omitempty"` WithArgs []interface{} `json:"args,omitempty"` ReturnResult *ReturnResult `json:"result,omitempty"` ReturnRows *ReturnRows `json:"rows,omitempty"` ReturnError string `json:"error,omitempty"` }
type ReturnResult ¶
type ReturnRows ¶
type ReturnRows struct { Columns []string `json:"columns"` Rows [][]interface{} `json:"rows"` }
Click to show internal directories.
Click to hide internal directories.