Documentation ¶
Index ¶
- type IBiz
- func (_m *IBiz) ChangeTimeRange(ctx contextx.Contextx, id int64, startAt int64, endAt int64) (*okr.Goal, error)
- func (_m *IBiz) ChangeTitle(ctx contextx.Contextx, id int64, title string) (*okr.Goal, error)
- func (_m *IBiz) Create(ctx contextx.Contextx, title string, startAt int64, endAt int64) (*okr.Goal, error)
- func (_m *IBiz) Delete(ctx contextx.Contextx, id int64) error
- func (_m *IBiz) GetByID(ctx contextx.Contextx, id int64) (*okr.Goal, error)
- func (_m *IBiz) List(ctx contextx.Contextx, page int, size int) ([]*okr.Goal, int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IBiz ¶
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
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
Click to show internal directories.
Click to hide internal directories.