Documentation ¶
Overview ¶
Package mock_repository is a generated GoMock package.
Index ¶
- type MockSampleRepository
- func (m *MockSampleRepository) Create(data string) (*entity.SampleEntity, error)
- func (m *MockSampleRepository) EXPECT() *MockSampleRepositoryMockRecorder
- func (m *MockSampleRepository) GetById(id string) (entity.SampleEntity, error)
- func (m *MockSampleRepository) List() (entity.SampleEntities, error)
- type MockSampleRepositoryMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSampleRepository ¶
type MockSampleRepository struct {
// contains filtered or unexported fields
}
MockSampleRepository is a mock of SampleRepository interface.
func NewMockSampleRepository ¶
func NewMockSampleRepository(ctrl *gomock.Controller) *MockSampleRepository
NewMockSampleRepository creates a new mock instance.
func (*MockSampleRepository) Create ¶
func (m *MockSampleRepository) Create(data string) (*entity.SampleEntity, error)
Create mocks base method.
func (*MockSampleRepository) EXPECT ¶
func (m *MockSampleRepository) EXPECT() *MockSampleRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSampleRepository) GetById ¶
func (m *MockSampleRepository) GetById(id string) (entity.SampleEntity, error)
GetById mocks base method.
func (*MockSampleRepository) List ¶
func (m *MockSampleRepository) List() (entity.SampleEntities, error)
List mocks base method.
type MockSampleRepositoryMockRecorder ¶
type MockSampleRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockSampleRepositoryMockRecorder is the mock recorder for MockSampleRepository.
func (*MockSampleRepositoryMockRecorder) Create ¶
func (mr *MockSampleRepositoryMockRecorder) Create(data interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockSampleRepositoryMockRecorder) GetById ¶
func (mr *MockSampleRepositoryMockRecorder) GetById(id interface{}) *gomock.Call
GetById indicates an expected call of GetById.
func (*MockSampleRepositoryMockRecorder) List ¶
func (mr *MockSampleRepositoryMockRecorder) List() *gomock.Call
List indicates an expected call of List.
Click to show internal directories.
Click to hide internal directories.