mock

package
v0.0.0-...-38b1c69 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

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

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

func (*MockRepository) SaveImage

func (m *MockRepository) SaveImage(prefixPath, extension string, image io.Reader) (string, int64, error)

SaveImage mocks base method.

func (*MockRepository) SetBasePath

func (m *MockRepository) SetBasePath(path string)

SetBasePath mocks base method.

func (*MockRepository) SetDirToSave

func (m *MockRepository) SetDirToSave(fn func() string)

SetDirToSave mocks base method.

type MockRepositoryMockRecorder

type MockRepositoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) SaveImage

func (mr *MockRepositoryMockRecorder) SaveImage(prefixPath, extension, image interface{}) *gomock.Call

SaveImage indicates an expected call of SaveImage.

func (*MockRepositoryMockRecorder) SetBasePath

func (mr *MockRepositoryMockRecorder) SetBasePath(path interface{}) *gomock.Call

SetBasePath indicates an expected call of SetBasePath.

func (*MockRepositoryMockRecorder) SetDirToSave

func (mr *MockRepositoryMockRecorder) SetDirToSave(fn interface{}) *gomock.Call

SetDirToSave indicates an expected call of SetDirToSave.

Jump to

Keyboard shortcuts

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