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 IBiz

type IBiz struct {
	mock.Mock
}

IBiz is an autogenerated mock type for the IBiz type

func (*IBiz) Create

func (_m *IBiz) Create(ctx contextx.Contextx, resultID int64, title string) (*todo.Task, error)

Create provides a mock function with given fields: ctx, resultID, title

func (*IBiz) Delete

func (_m *IBiz) Delete(ctx contextx.Contextx, id int64, resultID int64) error

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

func (*IBiz) GetByID

func (_m *IBiz) GetByID(ctx contextx.Contextx, id int64, resultID int64) (*todo.Task, error)

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

func (*IBiz) List

func (_m *IBiz) List(ctx contextx.Contextx, resultID int64, page int, size int) ([]*todo.Task, error)

List provides a mock function with given fields: ctx, resultID, page, size

func (*IBiz) ModifyTitle

func (_m *IBiz) ModifyTitle(ctx contextx.Contextx, id int64, resultID int64, title string) (*todo.Task, error)

ModifyTitle provides a mock function with given fields: ctx, id, resultID, title

func (*IBiz) UpdateStatus

func (_m *IBiz) UpdateStatus(ctx contextx.Contextx, id int64, resultID int64, status todo.Status) (*todo.Task, error)

UpdateStatus provides a mock function with given fields: ctx, id, resultID, status

Jump to

Keyboard shortcuts

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