mock_core

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: MIT Imports: 5 Imported by: 0

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

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

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

func (*MockfileRepository) GetAll

func (m *MockfileRepository) GetAll(ctx context.Context) ([]model.File, error)

GetAll mocks base method.

func (*MockfileRepository) RunTransaction

func (m *MockfileRepository) RunTransaction(ctx context.Context, fn transactor.TransactionFn) error

RunTransaction mocks base method.

func (*MockfileRepository) Set

func (m *MockfileRepository) Set(ctx context.Context, file model.File) error

Set 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.

Jump to

Keyboard shortcuts

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