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) ChangeActual added in v1.3.7

func (_m *IBiz) ChangeActual(ctx contextx.Contextx, id int64, goalID int64, actual int) (*okr.Result, error)

ChangeActual provides a mock function with given fields: ctx, id, goalID, actual

func (*IBiz) ChangeTarget added in v1.3.7

func (_m *IBiz) ChangeTarget(ctx contextx.Contextx, id int64, goalID int64, target int) (*okr.Result, error)

ChangeTarget provides a mock function with given fields: ctx, id, goalID, target

func (*IBiz) Create added in v1.3.7

func (_m *IBiz) Create(ctx contextx.Contextx, goalID int64, title string, target int) (*okr.Result, error)

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

func (*IBiz) Delete

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

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

func (*IBiz) GetByID

func (_m *IBiz) GetByID(ctx contextx.Contextx, id int64, goalID int64) (*okr.Result, error)

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

func (*IBiz) List

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

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

func (*IBiz) ModifyTitle

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

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

Jump to

Keyboard shortcuts

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