Documentation ¶
Overview ¶
Package mock_query is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCursor ¶
type MockCursor struct {
// contains filtered or unexported fields
}
MockCursor is a mock of Cursor interface
func NewMockCursor ¶
func NewMockCursor(ctrl *gomock.Controller) *MockCursor
NewMockCursor creates a new mock instance
func (*MockCursor) Close ¶
func (m *MockCursor) Close(arg0 context.Context) error
Close mocks base method
func (*MockCursor) EXPECT ¶
func (m *MockCursor) EXPECT() *MockCursorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockCursorMockRecorder ¶
type MockCursorMockRecorder struct {
// contains filtered or unexported fields
}
MockCursorMockRecorder is the mock recorder for MockCursor
func (*MockCursorMockRecorder) Close ¶
func (mr *MockCursorMockRecorder) Close(arg0 interface{}) *gomock.Call
Close indicates an expected call of Close
func (*MockCursorMockRecorder) Current ¶
func (mr *MockCursorMockRecorder) Current() *gomock.Call
Current indicates an expected call of Current
func (*MockCursorMockRecorder) Err ¶
func (mr *MockCursorMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err
func (*MockCursorMockRecorder) Next ¶
func (mr *MockCursorMockRecorder) Next(arg0 interface{}) *gomock.Call
Next indicates an expected call of Next
type MockRepository ¶
type MockRepository struct {
// contains filtered or unexported fields
}
MockRepository is a mock of Repository interface
func NewMockRepository ¶
func NewMockRepository(ctrl *gomock.Controller) *MockRepository
NewMockRepository creates a new mock instance
func (*MockRepository) EXPECT ¶
func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockRepositoryMockRecorder ¶
type MockRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryMockRecorder is the mock recorder for MockRepository
func (*MockRepositoryMockRecorder) Get ¶ added in v0.5.0
func (mr *MockRepositoryMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockRepositoryMockRecorder) Query ¶
func (mr *MockRepositoryMockRecorder) Query(arg0, arg1 interface{}) *gomock.Call
Query indicates an expected call of Query