mock_account

package
v0.0.0-...-71505b4 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_account is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRepo

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

MockRepo is a mock of Repo interface

func NewMockRepo

func NewMockRepo(ctrl *gomock.Controller) *MockRepo

NewMockRepo creates a new mock instance

func (*MockRepo) Count

func (m *MockRepo) Count(filter models.Account) (int64, error)

Count mocks base method

func (*MockRepo) EXPECT

func (m *MockRepo) EXPECT() *MockRepoMockRecorder

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

func (*MockRepo) Filter

func (m *MockRepo) Filter(filter models.Account, limit, offset uint) ([]models.Account, error)

Filter mocks base method

func (*MockRepo) Find

func (m *MockRepo) Find(filter models.Account) (bool, models.Account, error)

Find mocks base method

func (*MockRepo) List

func (m *MockRepo) List(limit, offset uint, after string) ([]models.Account, error)

List mocks base method

func (*MockRepo) TotalBalance

func (m *MockRepo) TotalBalance() (int64, error)

TotalBalance mocks base method

type MockRepoMockRecorder

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

MockRepoMockRecorder is the mock recorder for MockRepo

func (*MockRepoMockRecorder) Count

func (mr *MockRepoMockRecorder) Count(filter interface{}) *gomock.Call

Count indicates an expected call of Count

func (*MockRepoMockRecorder) Filter

func (mr *MockRepoMockRecorder) Filter(filter, limit, offset interface{}) *gomock.Call

Filter indicates an expected call of Filter

func (*MockRepoMockRecorder) Find

func (mr *MockRepoMockRecorder) Find(filter interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockRepoMockRecorder) List

func (mr *MockRepoMockRecorder) List(limit, offset, after interface{}) *gomock.Call

List indicates an expected call of List

func (*MockRepoMockRecorder) TotalBalance

func (mr *MockRepoMockRecorder) TotalBalance() *gomock.Call

TotalBalance indicates an expected call of TotalBalance

Jump to

Keyboard shortcuts

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