mocks

package
v1.3.17 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IRepo

type IRepo struct {
	mock.Mock
}

IRepo is an autogenerated mock type for the IRepo type

func (*IRepo) Count

func (_m *IRepo) Count(ctx contextx.Contextx, userID int64, resultID int64) (int, error)

Count provides a mock function with given fields: ctx, userID, resultID

func (*IRepo) Create

func (_m *IRepo) Create(ctx contextx.Contextx, task *todo.Task) (*todo.Task, error)

Create provides a mock function with given fields: ctx, task

func (*IRepo) Delete

func (_m *IRepo) Delete(ctx contextx.Contextx, userID int64, id int64, resultID int64) (int, error)

Delete provides a mock function with given fields: ctx, userID, id, resultID

func (*IRepo) List

func (_m *IRepo) List(ctx contextx.Contextx, userID int64, resultID int64, offset int, limit int) ([]*todo.Task, error)

List provides a mock function with given fields: ctx, userID, resultID, offset, limit

func (*IRepo) QueryByID

func (_m *IRepo) QueryByID(ctx contextx.Contextx, userID int64, id int64, resultID int64) (*todo.Task, error)

QueryByID provides a mock function with given fields: ctx, userID, id, resultID

func (*IRepo) Update

func (_m *IRepo) Update(ctx contextx.Contextx, updated *todo.Task) (*todo.Task, error)

Update provides a mock function with given fields: ctx, updated

Jump to

Keyboard shortcuts

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