Documentation ¶
Index ¶
- func AnyArg() sqlmock.Argument
- func AnyArgs(n int) (args []driver.Value)
- func GetColumns(dest any) ([]string, error)
- func GetValues(dest any, columns []string) ([]driver.Value, error)
- func MockRows[T any](objs ...*T) *sqlmock.Rows
- func NewMockPG(tb TestingTB) (*gorm.DB, sqlmock.Sqlmock)
- func NewResult(lastInsertID int64, rowsAffected int64) driver.Result
- func NewRows(columns ...string) *sqlmock.Rows
- type AnyTime
- type TestingTB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetColumns ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.