command

package
v0.0.0-...-47d9ccc Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package command is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CurrencyCommand

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

func (*CurrencyCommand) Add

func (*CurrencyCommand) MultipleAddOrUpdate

func (c *CurrencyCommand) MultipleAddOrUpdate(ctx context.Context, currencies []*model.CurrencyApplicationModel) ([]*model.CurrencyApplicationModel, error)

type CurrencyCommandInterface

type CurrencyCommandInterface interface {
	Add(ctx context.Context, currency *model.CurrencyApplicationModel) (*model.CurrencyApplicationModel, error)
	MultipleAddOrUpdate(ctx context.Context, currencies []*model.CurrencyApplicationModel) ([]*model.CurrencyApplicationModel, error)
}

func NewCurrencyCommand

func NewCurrencyCommand(
	currencyService currency.CurrencyServiceInterface,
) CurrencyCommandInterface

type MockCurrencyCommandInterface

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

MockCurrencyCommandInterface is a mock of CurrencyCommandInterface interface.

func NewMockCurrencyCommandInterface

func NewMockCurrencyCommandInterface(ctrl *gomock.Controller) *MockCurrencyCommandInterface

NewMockCurrencyCommandInterface creates a new mock instance.

func (*MockCurrencyCommandInterface) Add

Add mocks base method.

func (*MockCurrencyCommandInterface) EXPECT

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

func (*MockCurrencyCommandInterface) MultipleAddOrUpdate

MultipleAddOrUpdate mocks base method.

type MockCurrencyCommandInterfaceMockRecorder

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

MockCurrencyCommandInterfaceMockRecorder is the mock recorder for MockCurrencyCommandInterface.

func (*MockCurrencyCommandInterfaceMockRecorder) Add

func (mr *MockCurrencyCommandInterfaceMockRecorder) Add(ctx, currency interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockCurrencyCommandInterfaceMockRecorder) MultipleAddOrUpdate

func (mr *MockCurrencyCommandInterfaceMockRecorder) MultipleAddOrUpdate(ctx, currencies interface{}) *gomock.Call

MultipleAddOrUpdate indicates an expected call of MultipleAddOrUpdate.

Jump to

Keyboard shortcuts

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