Documentation
¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: usecase.go
Generated by this command:
mockgen -source usecase.go -destination mocks/mocks.go -typed true
Package mock_core is a generated GoMock package.
Index ¶
- type MockfileRepository
- func (m *MockfileRepository) EXPECT() *MockfileRepositoryMockRecorder
- func (m *MockfileRepository) GetAll(ctx context.Context) ([]model.File, error)
- func (m *MockfileRepository) RunTransaction(ctx context.Context, fn transactor.TransactionFn) error
- func (m *MockfileRepository) Set(ctx context.Context, file model.File) error
- type MockfileRepositoryMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockfileRepository ¶
type MockfileRepository struct {
// contains filtered or unexported fields
}
MockfileRepository is a mock of fileRepository interface.
func NewMockfileRepository ¶
func NewMockfileRepository(ctrl *gomock.Controller) *MockfileRepository
NewMockfileRepository creates a new mock instance.
func (*MockfileRepository) EXPECT ¶
func (m *MockfileRepository) EXPECT() *MockfileRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockfileRepository) RunTransaction ¶
func (m *MockfileRepository) RunTransaction(ctx context.Context, fn transactor.TransactionFn) error
RunTransaction mocks base method.
type MockfileRepositoryMockRecorder ¶
type MockfileRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockfileRepositoryMockRecorder is the mock recorder for MockfileRepository.
func (*MockfileRepositoryMockRecorder) GetAll ¶
func (mr *MockfileRepositoryMockRecorder) GetAll(ctx any) *fileRepositoryGetAllCall
GetAll indicates an expected call of GetAll.
func (*MockfileRepositoryMockRecorder) RunTransaction ¶
func (mr *MockfileRepositoryMockRecorder) RunTransaction(ctx, fn any) *fileRepositoryRunTransactionCall
RunTransaction indicates an expected call of RunTransaction.
func (*MockfileRepositoryMockRecorder) Set ¶
func (mr *MockfileRepositoryMockRecorder) Set(ctx, file any) *fileRepositorySetCall
Set indicates an expected call of Set.
Click to show internal directories.
Click to hide internal directories.