Documentation ¶
Overview ¶
Package mock_gallery is a generated GoMock package.
Index ¶
- type MockRepository
- func (m *MockRepository) Delete(arg0 context.Context, arg1 *gallery.Gallery) error
- func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
- func (m *MockRepository) Fetch(arg0 context.Context, arg1 uuid.UUID) (*gallery.Gallery, error)
- func (m *MockRepository) Save(arg0 context.Context, arg1 *gallery.Gallery) error
- func (m *MockRepository) Use(arg0 context.Context, arg1 uuid.UUID, arg2 func(*gallery.Gallery) error) error
- type MockRepositoryMockRecorder
- func (mr *MockRepositoryMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Fetch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Save(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Use(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) Delete ¶
func (mr *MockRepositoryMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockRepositoryMockRecorder) Fetch ¶
func (mr *MockRepositoryMockRecorder) Fetch(arg0, arg1 interface{}) *gomock.Call
Fetch indicates an expected call of Fetch.
func (*MockRepositoryMockRecorder) Save ¶
func (mr *MockRepositoryMockRecorder) Save(arg0, arg1 interface{}) *gomock.Call
Save indicates an expected call of Save.
func (*MockRepositoryMockRecorder) Use ¶
func (mr *MockRepositoryMockRecorder) Use(arg0, arg1, arg2 interface{}) *gomock.Call
Use indicates an expected call of Use.
Click to show internal directories.
Click to hide internal directories.