Documentation ¶
Overview ¶
Package repository is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTodoRepository ¶
type MockTodoRepository struct {
// contains filtered or unexported fields
}
MockTodoRepository is a mock of TodoRepository interface.
func NewMockTodoRepository ¶
func NewMockTodoRepository(ctrl *gomock.Controller) *MockTodoRepository
NewMockTodoRepository creates a new mock instance.
func (*MockTodoRepository) Delete ¶
func (m *MockTodoRepository) Delete(arg0 primitive.ObjectID) (bool, error)
Delete mocks base method.
func (*MockTodoRepository) EXPECT ¶
func (m *MockTodoRepository) EXPECT() *MockTodoRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTodoRepositoryMockRecorder ¶
type MockTodoRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockTodoRepositoryMockRecorder is the mock recorder for MockTodoRepository.
func (*MockTodoRepositoryMockRecorder) Delete ¶
func (mr *MockTodoRepositoryMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockTodoRepositoryMockRecorder) GetAll ¶
func (mr *MockTodoRepositoryMockRecorder) GetAll() *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockTodoRepositoryMockRecorder) Insert ¶
func (mr *MockTodoRepositoryMockRecorder) Insert(arg0 interface{}) *gomock.Call
Insert indicates an expected call of Insert.
Click to show internal directories.
Click to hide internal directories.