mocks

package
v0.0.0-...-5f2b7d0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IdbRepo

type IdbRepo struct {
	mock.Mock
}

IdbRepo is an autogenerated mock type for the IdbRepo type

func (*IdbRepo) Get

func (_m *IdbRepo) Get(_a0 context.Context, _a1 *entities.Book) (*entities.Book, error)

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

func (*IdbRepo) List

func (_m *IdbRepo) List(_a0 context.Context, _a1 int64, _a2 int64, _a3 string) ([]*entities.Book, error)

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

func (*IdbRepo) Upsert

func (_m *IdbRepo) Upsert(_a0 context.Context, _a1 *entities.Book) (*entities.Book, error)

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

Jump to

Keyboard shortcuts

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