Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockExecutor
- type MockExecutorExecCall
- func (c *MockExecutorExecCall) Do(f func(string, sql.Encoder, sql.Decoder) (int, error)) *MockExecutorExecCall
- func (c *MockExecutorExecCall) DoAndReturn(f func(string, sql.Encoder, sql.Decoder) (int, error)) *MockExecutorExecCall
- func (c *MockExecutorExecCall) Return(arg0 int, arg1 error) *MockExecutorExecCall
- type MockExecutorMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExecutor ¶
type MockExecutor struct {
// contains filtered or unexported fields
}
MockExecutor is a mock of Executor interface.
func NewMockExecutor ¶
func NewMockExecutor(ctrl *gomock.Controller) *MockExecutor
NewMockExecutor creates a new mock instance.
func (*MockExecutor) EXPECT ¶
func (m *MockExecutor) EXPECT() *MockExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockExecutorExecCall ¶ added in v1.4.0
MockExecutorExecCall wrap *gomock.Call
func (*MockExecutorExecCall) Do ¶ added in v1.4.0
func (c *MockExecutorExecCall) Do(f func(string, sql.Encoder, sql.Decoder) (int, error)) *MockExecutorExecCall
Do rewrite *gomock.Call.Do
func (*MockExecutorExecCall) DoAndReturn ¶ added in v1.4.0
func (c *MockExecutorExecCall) DoAndReturn(f func(string, sql.Encoder, sql.Decoder) (int, error)) *MockExecutorExecCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockExecutorExecCall) Return ¶ added in v1.4.0
func (c *MockExecutorExecCall) Return(arg0 int, arg1 error) *MockExecutorExecCall
Return rewrite *gomock.Call.Return
type MockExecutorMockRecorder ¶
type MockExecutorMockRecorder struct {
// contains filtered or unexported fields
}
MockExecutorMockRecorder is the mock recorder for MockExecutor.
func (*MockExecutorMockRecorder) Exec ¶
func (mr *MockExecutorMockRecorder) Exec(arg0, arg1, arg2 any) *MockExecutorExecCall
Exec indicates an expected call of Exec.
Click to show internal directories.
Click to hide internal directories.