mocks

package
v0.0.0-...-34481b2 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLogger

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

MockLogger is a mock of Logger interface.

func NewMockLogger

func NewMockLogger(ctrl *gomock.Controller) *MockLogger

NewMockLogger creates a new mock instance.

func (*MockLogger) EXPECT

func (m *MockLogger) EXPECT() *MockLoggerMockRecorder

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

func (*MockLogger) Infof

func (m *MockLogger) Infof(arg0 string, arg1 ...interface{})

Infof mocks base method.

type MockLoggerMockRecorder

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

MockLoggerMockRecorder is the mock recorder for MockLogger.

func (*MockLoggerMockRecorder) Infof

func (mr *MockLoggerMockRecorder) Infof(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Infof indicates an expected call of Infof.

type MockParser

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

MockParser is a mock of Parser interface.

func NewMockParser

func NewMockParser(ctrl *gomock.Controller) *MockParser

NewMockParser creates a new mock instance.

func (*MockParser) EXPECT

func (m *MockParser) EXPECT() *MockParserMockRecorder

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

func (*MockParser) Fetch

func (m *MockParser) Fetch(arg0 string) ([]models.Price, error)

Fetch mocks base method.

type MockParserMockRecorder

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

MockParserMockRecorder is the mock recorder for MockParser.

func (*MockParserMockRecorder) Fetch

func (mr *MockParserMockRecorder) Fetch(arg0 interface{}) *gomock.Call

Fetch indicates an expected call of Fetch.

type MockPriceRepo

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

MockPriceRepo is a mock of PriceRepo interface.

func NewMockPriceRepo

func NewMockPriceRepo(ctrl *gomock.Controller) *MockPriceRepo

NewMockPriceRepo creates a new mock instance.

func (*MockPriceRepo) EXPECT

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

func (*MockPriceRepo) Import

func (m *MockPriceRepo) Import(arg0 time.Time, arg1 []models.Price) error

Import mocks base method.

func (*MockPriceRepo) List

func (m *MockPriceRepo) List(arg0, arg1 int, arg2 string, arg3 int32) ([]models.Price, error)

List mocks base method.

type MockPriceRepoMockRecorder

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

MockPriceRepoMockRecorder is the mock recorder for MockPriceRepo.

func (*MockPriceRepoMockRecorder) Import

func (mr *MockPriceRepoMockRecorder) Import(arg0, arg1 interface{}) *gomock.Call

Import indicates an expected call of Import.

func (*MockPriceRepoMockRecorder) List

func (mr *MockPriceRepoMockRecorder) List(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

List indicates an expected call of List.

Jump to

Keyboard shortcuts

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