mocks

package
v1.2.10 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 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) Delete

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

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

func (*IBiz) GetByGoalID added in v1.2.7

func (_m *IBiz) GetByGoalID(ctx contextx.Contextx, id string) ([]*pb.Result, error)

GetByGoalID provides a mock function with given fields: ctx, id

func (*IBiz) GetByID

func (_m *IBiz) GetByID(ctx contextx.Contextx, id string) (*pb.Result, error)

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

func (*IBiz) LinkToGoal

func (_m *IBiz) LinkToGoal(ctx contextx.Contextx, created *pb.Result) (*pb.Result, error)

LinkToGoal provides a mock function with given fields: ctx, created

func (*IBiz) List

func (_m *IBiz) List(ctx contextx.Contextx, page int, size int) ([]*pb.Result, error)

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

func (*IBiz) ModifyTitle added in v1.2.9

func (_m *IBiz) ModifyTitle(ctx contextx.Contextx, id string, title string) (*pb.Result, error)

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

Jump to

Keyboard shortcuts

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