repository

package
v0.0.0-...-9427ade Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTodoRepository) GetAll

func (m *MockTodoRepository) GetAll() ([]models.Todo, error)

GetAll mocks base method.

func (*MockTodoRepository) Insert

func (m *MockTodoRepository) Insert(arg0 models.Todo) (bool, error)

Insert mocks base method.

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL