Documentation ¶
Index ¶
- type Driver
- func (_m *Driver) Close()
- func (_m *Driver) CountRows(ctx context.Context, query string, args ...interface{}) (int, error)
- func (_m *Driver) ExecuteQuery(ctx context.Context, query string, args ...interface{}) error
- func (_m *Driver) Ping(ctx context.Context) error
- func (_m *Driver) QueryRow(ctx context.Context, query string, args ...interface{}) (pgx.Row, error)
- func (_m *Driver) QueryRows(ctx context.Context, query string, args ...interface{}) (pgx.Rows, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
Driver is an autogenerated mock type for the Driver type
func NewDriver ¶
NewDriver creates a new instance of Driver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Driver) ExecuteQuery ¶
ExecuteQuery provides a mock function with given fields: ctx, query, args
Click to show internal directories.
Click to hide internal directories.