Documentation
¶
Overview ¶
Package mock_check is a generated GoMock package.
Index ¶
- type MockTx
- func (m *MockTx) Commit() error
- func (m *MockTx) EXPECT() *MockTxMockRecorder
- func (m *MockTx) Exec(query string, args ...interface{}) (sql.Result, error)
- func (m *MockTx) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error)
- func (m *MockTx) Prepare(query string) (*sql.Stmt, error)
- func (m *MockTx) PrepareContext(ctx context.Context, query string) (*sql.Stmt, error)
- func (m *MockTx) Query(query string, args ...interface{}) (*sql.Rows, error)
- func (m *MockTx) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)
- func (m *MockTx) QueryRow(query string, args ...interface{}) *sql.Row
- func (m *MockTx) QueryRowContext(ctx context.Context, query string, args ...interface{}) *sql.Row
- func (m *MockTx) Rollback() error
- func (m *MockTx) Stmt(stmt *sql.Stmt) *sql.Stmt
- func (m *MockTx) StmtContext(ctx context.Context, stmt *sql.Stmt) *sql.Stmt
- type MockTxMockRecorder
- func (mr *MockTxMockRecorder) Commit() *gomock.Call
- func (mr *MockTxMockRecorder) Exec(query interface{}, args ...interface{}) *gomock.Call
- func (mr *MockTxMockRecorder) ExecContext(ctx, query interface{}, args ...interface{}) *gomock.Call
- func (mr *MockTxMockRecorder) Prepare(query interface{}) *gomock.Call
- func (mr *MockTxMockRecorder) PrepareContext(ctx, query interface{}) *gomock.Call
- func (mr *MockTxMockRecorder) Query(query interface{}, args ...interface{}) *gomock.Call
- func (mr *MockTxMockRecorder) QueryContext(ctx, query interface{}, args ...interface{}) *gomock.Call
- func (mr *MockTxMockRecorder) QueryRow(query interface{}, args ...interface{}) *gomock.Call
- func (mr *MockTxMockRecorder) QueryRowContext(ctx, query interface{}, args ...interface{}) *gomock.Call
- func (mr *MockTxMockRecorder) Rollback() *gomock.Call
- func (mr *MockTxMockRecorder) Stmt(stmt interface{}) *gomock.Call
- func (mr *MockTxMockRecorder) StmtContext(ctx, stmt interface{}) *gomock.Call
- type MockTxProvider
- type MockTxProviderMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTx ¶
type MockTx struct {
// contains filtered or unexported fields
}
MockTx is a mock of Tx interface
func NewMockTx ¶
func NewMockTx(ctrl *gomock.Controller) *MockTx
NewMockTx creates a new mock instance
func (*MockTx) EXPECT ¶
func (m *MockTx) EXPECT() *MockTxMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTx) ExecContext ¶
func (m *MockTx) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error)
ExecContext mocks base method
func (*MockTx) PrepareContext ¶
PrepareContext mocks base method
func (*MockTx) QueryContext ¶
func (m *MockTx) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)
QueryContext mocks base method
func (*MockTx) QueryRowContext ¶
QueryRowContext mocks base method
type MockTxMockRecorder ¶
type MockTxMockRecorder struct {
// contains filtered or unexported fields
}
MockTxMockRecorder is the mock recorder for MockTx
func (*MockTxMockRecorder) Commit ¶
func (mr *MockTxMockRecorder) Commit() *gomock.Call
Commit indicates an expected call of Commit
func (*MockTxMockRecorder) Exec ¶
func (mr *MockTxMockRecorder) Exec(query interface{}, args ...interface{}) *gomock.Call
Exec indicates an expected call of Exec
func (*MockTxMockRecorder) ExecContext ¶
func (mr *MockTxMockRecorder) ExecContext(ctx, query interface{}, args ...interface{}) *gomock.Call
ExecContext indicates an expected call of ExecContext
func (*MockTxMockRecorder) Prepare ¶
func (mr *MockTxMockRecorder) Prepare(query interface{}) *gomock.Call
Prepare indicates an expected call of Prepare
func (*MockTxMockRecorder) PrepareContext ¶
func (mr *MockTxMockRecorder) PrepareContext(ctx, query interface{}) *gomock.Call
PrepareContext indicates an expected call of PrepareContext
func (*MockTxMockRecorder) Query ¶
func (mr *MockTxMockRecorder) Query(query interface{}, args ...interface{}) *gomock.Call
Query indicates an expected call of Query
func (*MockTxMockRecorder) QueryContext ¶
func (mr *MockTxMockRecorder) QueryContext(ctx, query interface{}, args ...interface{}) *gomock.Call
QueryContext indicates an expected call of QueryContext
func (*MockTxMockRecorder) QueryRow ¶
func (mr *MockTxMockRecorder) QueryRow(query interface{}, args ...interface{}) *gomock.Call
QueryRow indicates an expected call of QueryRow
func (*MockTxMockRecorder) QueryRowContext ¶
func (mr *MockTxMockRecorder) QueryRowContext(ctx, query interface{}, args ...interface{}) *gomock.Call
QueryRowContext indicates an expected call of QueryRowContext
func (*MockTxMockRecorder) Rollback ¶
func (mr *MockTxMockRecorder) Rollback() *gomock.Call
Rollback indicates an expected call of Rollback
func (*MockTxMockRecorder) Stmt ¶
func (mr *MockTxMockRecorder) Stmt(stmt interface{}) *gomock.Call
Stmt indicates an expected call of Stmt
func (*MockTxMockRecorder) StmtContext ¶
func (mr *MockTxMockRecorder) StmtContext(ctx, stmt interface{}) *gomock.Call
StmtContext indicates an expected call of StmtContext
type MockTxProvider ¶
type MockTxProvider struct {
// contains filtered or unexported fields
}
MockTxProvider is a mock of TxProvider interface
func NewMockTxProvider ¶
func NewMockTxProvider(ctrl *gomock.Controller) *MockTxProvider
NewMockTxProvider creates a new mock instance
func (*MockTxProvider) Begin ¶
func (m *MockTxProvider) Begin() (x.Tx, error)
Begin mocks base method
func (*MockTxProvider) EXPECT ¶
func (m *MockTxProvider) EXPECT() *MockTxProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockTxProviderMockRecorder ¶
type MockTxProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockTxProviderMockRecorder is the mock recorder for MockTxProvider
func (*MockTxProviderMockRecorder) Begin ¶
func (mr *MockTxProviderMockRecorder) Begin() *gomock.Call
Begin indicates an expected call of Begin