Documentation ¶
Overview ¶
Package services is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTodoService ¶
type MockTodoService struct {
// contains filtered or unexported fields
}
MockTodoService is a mock of TodoService interface.
func NewMockTodoService ¶
func NewMockTodoService(ctrl *gomock.Controller) *MockTodoService
NewMockTodoService creates a new mock instance.
func (*MockTodoService) DeleteTodo ¶
func (m *MockTodoService) DeleteTodo(arg0 primitive.ObjectID) (bool, error)
DeleteTodo mocks base method.
func (*MockTodoService) EXPECT ¶
func (m *MockTodoService) EXPECT() *MockTodoServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTodoService) GetAllTodo ¶
func (m *MockTodoService) GetAllTodo() ([]models.Todo, error)
GetAllTodo mocks base method.
func (*MockTodoService) TodoInsert ¶
TodoInsert mocks base method.
type MockTodoServiceMockRecorder ¶
type MockTodoServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockTodoServiceMockRecorder is the mock recorder for MockTodoService.
func (*MockTodoServiceMockRecorder) DeleteTodo ¶
func (mr *MockTodoServiceMockRecorder) DeleteTodo(arg0 interface{}) *gomock.Call
DeleteTodo indicates an expected call of DeleteTodo.
func (*MockTodoServiceMockRecorder) GetAllTodo ¶
func (mr *MockTodoServiceMockRecorder) GetAllTodo() *gomock.Call
GetAllTodo indicates an expected call of GetAllTodo.
func (*MockTodoServiceMockRecorder) TodoInsert ¶
func (mr *MockTodoServiceMockRecorder) TodoInsert(arg0 interface{}) *gomock.Call
TodoInsert indicates an expected call of TodoInsert.
Click to show internal directories.
Click to hide internal directories.