mocks

package
v0.0.0-...-4e290a4 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DAO

type DAO struct {
	mock.Mock
}

DAO is an autogenerated mock type for the DAO type

func (*DAO) Count

func (_m *DAO) Count(_a0 context.Context) (int64, error)

Count provides a mock function with given fields: _a0

func (*DAO) GetAll

func (_m *DAO) GetAll(_a0 context.Context, _a1 interface{}, _a2 int64) error

GetAll provides a mock function with given fields: _a0, _a1, _a2

func (*DAO) GetByID

func (_m *DAO) GetByID(_a0 context.Context, _a1 string, _a2 interface{}) error

GetByID provides a mock function with given fields: _a0, _a1, _a2

func (*DAO) GetList

func (_m *DAO) GetList(_a0 context.Context, _a1 interface{}, _a2 map[string]interface{}, _a3 int64) error

GetList provides a mock function with given fields: _a0, _a1, _a2, _a3

func (*DAO) GetName

func (_m *DAO) GetName() string

GetName provides a mock function with given fields:

func (*DAO) Insert

func (_m *DAO) Insert(_a0 context.Context, _a1 interface{}) (string, error)

Insert provides a mock function with given fields: _a0, _a1

func (*DAO) RemoveByID

func (_m *DAO) RemoveByID(_a0 context.Context, _a1 string) error

RemoveByID provides a mock function with given fields: _a0, _a1

func (*DAO) UpdateByID

func (_m *DAO) UpdateByID(_a0 context.Context, _a1 string, _a2 interface{}) error

UpdateByID provides a mock function with given fields: _a0, _a1, _a2

type IDItem

type IDItem struct {
	mock.Mock
}

IDItem is an autogenerated mock type for the IDItem type

func (*IDItem) GetID

func (_m *IDItem) GetID() string

GetID provides a mock function with given fields:

Jump to

Keyboard shortcuts

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