mock_exchange

package
v0.0.0-...-4350bb9 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_exchange is a generated GoMock package.

Package mock_exchange is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockExchangeRepository

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

MockExchangeRepository is a mock of ExchangeRepository interface

func NewMockExchangeRepository

func NewMockExchangeRepository(ctrl *gomock.Controller) *MockExchangeRepository

NewMockExchangeRepository creates a new mock instance

func (*MockExchangeRepository) EXPECT

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

func (*MockExchangeRepository) Index

Index mocks base method

func (*MockExchangeRepository) Show

func (m *MockExchangeRepository) Show(ctx context.Context, currency string) (float64, string, error)

Show mocks base method

type MockExchangeRepositoryMockRecorder

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

MockExchangeRepositoryMockRecorder is the mock recorder for MockExchangeRepository

func (*MockExchangeRepositoryMockRecorder) Index

func (mr *MockExchangeRepositoryMockRecorder) Index(ctx interface{}) *gomock.Call

Index indicates an expected call of Index

func (*MockExchangeRepositoryMockRecorder) Show

func (mr *MockExchangeRepositoryMockRecorder) Show(ctx, currency interface{}) *gomock.Call

Show indicates an expected call of Show

type MockExchangeService

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

MockExchangeService is a mock of ExchangeService interface

func NewMockExchangeService

func NewMockExchangeService(ctrl *gomock.Controller) *MockExchangeService

NewMockExchangeService creates a new mock instance

func (*MockExchangeService) EXPECT

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

func (*MockExchangeService) Index

Index mocks base method

func (*MockExchangeService) Show

func (m *MockExchangeService) Show(ctx context.Context, baseCurrency, currency string) (*exchange.Exchange, error)

Show mocks base method

type MockExchangeServiceMockRecorder

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

MockExchangeServiceMockRecorder is the mock recorder for MockExchangeService

func (*MockExchangeServiceMockRecorder) Index

func (mr *MockExchangeServiceMockRecorder) Index(ctx interface{}) *gomock.Call

Index indicates an expected call of Index

func (*MockExchangeServiceMockRecorder) Show

func (mr *MockExchangeServiceMockRecorder) Show(ctx, baseCurrency, currency interface{}) *gomock.Call

Show indicates an expected call of Show

Jump to

Keyboard shortcuts

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