Documentation
¶
Overview ¶
Package mock_repository is a generated GoMock package.
Index ¶
- type MockBeginner
- type MockBeginnerMockRecorder
- type MockExecer
- type MockExecerMockRecorder
- type MockPreparer
- type MockPreparerMockRecorder
- type MockQueryer
- func (m *MockQueryer) EXPECT() *MockQueryerMockRecorder
- func (m *MockQueryer) GetContext(ctx context.Context, dest any, query string, args ...any) error
- func (m *MockQueryer) PreparexContext(ctx context.Context, query string) (*sqlx.Stmt, error)
- func (m *MockQueryer) QueryRowxContext(ctx context.Context, query string, args ...any) *sqlx.Row
- func (m *MockQueryer) QueryxContext(ctx context.Context, query string, args ...any) (*sqlx.Rows, error)
- func (m *MockQueryer) SelectContext(ctx context.Context, dest any, query string, args ...any) error
- type MockQueryerMockRecorder
- func (mr *MockQueryerMockRecorder) GetContext(ctx, dest, query any, args ...any) *gomock.Call
- func (mr *MockQueryerMockRecorder) PreparexContext(ctx, query any) *gomock.Call
- func (mr *MockQueryerMockRecorder) QueryRowxContext(ctx, query any, args ...any) *gomock.Call
- func (mr *MockQueryerMockRecorder) QueryxContext(ctx, query any, args ...any) *gomock.Call
- func (mr *MockQueryerMockRecorder) SelectContext(ctx, dest, query any, args ...any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBeginner ¶
type MockBeginner struct {
// contains filtered or unexported fields
}
MockBeginner is a mock of Beginner interface.
func NewMockBeginner ¶
func NewMockBeginner(ctrl *gomock.Controller) *MockBeginner
NewMockBeginner creates a new mock instance.
func (*MockBeginner) EXPECT ¶
func (m *MockBeginner) EXPECT() *MockBeginnerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBeginnerMockRecorder ¶
type MockBeginnerMockRecorder struct {
// contains filtered or unexported fields
}
MockBeginnerMockRecorder is the mock recorder for MockBeginner.
type MockExecer ¶
type MockExecer struct {
// contains filtered or unexported fields
}
MockExecer is a mock of Execer interface.
func NewMockExecer ¶
func NewMockExecer(ctrl *gomock.Controller) *MockExecer
NewMockExecer creates a new mock instance.
func (*MockExecer) EXPECT ¶
func (m *MockExecer) EXPECT() *MockExecerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExecer) ExecContext ¶
func (m *MockExecer) ExecContext(ctx context.Context, query string, args ...any) (sql.Result, error)
ExecContext mocks base method.
func (*MockExecer) NamedExecContext ¶
func (m *MockExecer) NamedExecContext(ctx context.Context, query string, arg any) (sql.Result, error)
NamedExecContext mocks base method.
type MockExecerMockRecorder ¶
type MockExecerMockRecorder struct {
// contains filtered or unexported fields
}
MockExecerMockRecorder is the mock recorder for MockExecer.
func (*MockExecerMockRecorder) ExecContext ¶
func (mr *MockExecerMockRecorder) ExecContext(ctx, query any, args ...any) *gomock.Call
ExecContext indicates an expected call of ExecContext.
func (*MockExecerMockRecorder) NamedExecContext ¶
func (mr *MockExecerMockRecorder) NamedExecContext(ctx, query, arg any) *gomock.Call
NamedExecContext indicates an expected call of NamedExecContext.
type MockPreparer ¶
type MockPreparer struct {
// contains filtered or unexported fields
}
MockPreparer is a mock of Preparer interface.
func NewMockPreparer ¶
func NewMockPreparer(ctrl *gomock.Controller) *MockPreparer
NewMockPreparer creates a new mock instance.
func (*MockPreparer) EXPECT ¶
func (m *MockPreparer) EXPECT() *MockPreparerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPreparer) PreparexContext ¶
PreparexContext mocks base method.
type MockPreparerMockRecorder ¶
type MockPreparerMockRecorder struct {
// contains filtered or unexported fields
}
MockPreparerMockRecorder is the mock recorder for MockPreparer.
func (*MockPreparerMockRecorder) PreparexContext ¶
func (mr *MockPreparerMockRecorder) PreparexContext(ctx, query any) *gomock.Call
PreparexContext indicates an expected call of PreparexContext.
type MockQueryer ¶
type MockQueryer struct {
// contains filtered or unexported fields
}
MockQueryer is a mock of Queryer interface.
func NewMockQueryer ¶
func NewMockQueryer(ctrl *gomock.Controller) *MockQueryer
NewMockQueryer creates a new mock instance.
func (*MockQueryer) EXPECT ¶
func (m *MockQueryer) EXPECT() *MockQueryerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockQueryer) GetContext ¶
GetContext mocks base method.
func (*MockQueryer) PreparexContext ¶
PreparexContext mocks base method.
func (*MockQueryer) QueryRowxContext ¶
QueryRowxContext mocks base method.
func (*MockQueryer) QueryxContext ¶
func (m *MockQueryer) QueryxContext(ctx context.Context, query string, args ...any) (*sqlx.Rows, error)
QueryxContext mocks base method.
func (*MockQueryer) SelectContext ¶
SelectContext mocks base method.
type MockQueryerMockRecorder ¶
type MockQueryerMockRecorder struct {
// contains filtered or unexported fields
}
MockQueryerMockRecorder is the mock recorder for MockQueryer.
func (*MockQueryerMockRecorder) GetContext ¶
func (mr *MockQueryerMockRecorder) GetContext(ctx, dest, query any, args ...any) *gomock.Call
GetContext indicates an expected call of GetContext.
func (*MockQueryerMockRecorder) PreparexContext ¶
func (mr *MockQueryerMockRecorder) PreparexContext(ctx, query any) *gomock.Call
PreparexContext indicates an expected call of PreparexContext.
func (*MockQueryerMockRecorder) QueryRowxContext ¶
func (mr *MockQueryerMockRecorder) QueryRowxContext(ctx, query any, args ...any) *gomock.Call
QueryRowxContext indicates an expected call of QueryRowxContext.
func (*MockQueryerMockRecorder) QueryxContext ¶
func (mr *MockQueryerMockRecorder) QueryxContext(ctx, query any, args ...any) *gomock.Call
QueryxContext indicates an expected call of QueryxContext.
func (*MockQueryerMockRecorder) SelectContext ¶
func (mr *MockQueryerMockRecorder) SelectContext(ctx, dest, query any, args ...any) *gomock.Call
SelectContext indicates an expected call of SelectContext.