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

func (_m *IBiz) ChangeTimeRange(ctx contextx.Contextx, id int64, startAt int64, endAt int64) (*okr.Goal, error)

ChangeTimeRange provides a mock function with given fields: ctx, id, startAt, endAt

func (*IBiz) ChangeTitle added in v1.3.7

func (_m *IBiz) ChangeTitle(ctx contextx.Contextx, id int64, title string) (*okr.Goal, error)

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

func (*IBiz) Create

func (_m *IBiz) Create(ctx contextx.Contextx, title string, startAt int64, endAt int64) (*okr.Goal, error)

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

func (*IBiz) Delete

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

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

func (*IBiz) GetByID

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

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

func (*IBiz) List

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

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

Jump to

Keyboard shortcuts

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