repository

package
v0.0.0-...-fa04af2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package repository is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAccounter

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

MockAccounter is a mock of Accounter interface.

func NewMockAccounter

func NewMockAccounter(ctrl *gomock.Controller) *MockAccounter

NewMockAccounter creates a new mock instance.

func (*MockAccounter) CreateAccount

func (m *MockAccounter) CreateAccount(arg0 domain.Account) error

CreateAccount mocks base method.

func (*MockAccounter) DeleteAccount

func (m *MockAccounter) DeleteAccount(arg0 string) error

DeleteAccount mocks base method.

func (*MockAccounter) EXPECT

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

func (*MockAccounter) GetAccount

func (m *MockAccounter) GetAccount(arg0 string) (domain.Account, error)

GetAccount mocks base method.

func (*MockAccounter) GetByCredentials

func (m *MockAccounter) GetByCredentials(arg0, arg1 string) (domain.Account, error)

GetByCredentials mocks base method.

func (*MockAccounter) UpdateAccountInfo

func (m *MockAccounter) UpdateAccountInfo(arg0 domain.UpdateAccountInput) error

UpdateAccountInfo mocks base method.

func (*MockAccounter) UpdateAccountRole

func (m *MockAccounter) UpdateAccountRole(arg0 domain.UpdateAccountRoleInput) error

UpdateAccountRole mocks base method.

type MockAccounterMockRecorder

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

MockAccounterMockRecorder is the mock recorder for MockAccounter.

func (*MockAccounterMockRecorder) CreateAccount

func (mr *MockAccounterMockRecorder) CreateAccount(arg0 interface{}) *gomock.Call

CreateAccount indicates an expected call of CreateAccount.

func (*MockAccounterMockRecorder) DeleteAccount

func (mr *MockAccounterMockRecorder) DeleteAccount(arg0 interface{}) *gomock.Call

DeleteAccount indicates an expected call of DeleteAccount.

func (*MockAccounterMockRecorder) GetAccount

func (mr *MockAccounterMockRecorder) GetAccount(arg0 interface{}) *gomock.Call

GetAccount indicates an expected call of GetAccount.

func (*MockAccounterMockRecorder) GetByCredentials

func (mr *MockAccounterMockRecorder) GetByCredentials(arg0, arg1 interface{}) *gomock.Call

GetByCredentials indicates an expected call of GetByCredentials.

func (*MockAccounterMockRecorder) UpdateAccountInfo

func (mr *MockAccounterMockRecorder) UpdateAccountInfo(arg0 interface{}) *gomock.Call

UpdateAccountInfo indicates an expected call of UpdateAccountInfo.

func (*MockAccounterMockRecorder) UpdateAccountRole

func (mr *MockAccounterMockRecorder) UpdateAccountRole(arg0 interface{}) *gomock.Call

UpdateAccountRole indicates an expected call of UpdateAccountRole.

Jump to

Keyboard shortcuts

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