Documentation ¶
Index ¶
- type IBiz
- func (_m *IBiz) Count(ctx contextx.Contextx) (int, error)
- func (_m *IBiz) Create(ctx contextx.Contextx, title string) (*entitytask.Task, error)
- func (_m *IBiz) Delete(ctx contextx.Contextx, id int64) error
- func (_m *IBiz) GetByID(ctx contextx.Contextx, id int64) (*entitytask.Task, error)
- func (_m *IBiz) List(ctx contextx.Contextx, page int, size int) ([]*entitytask.Task, error)
- func (_m *IBiz) ModifyTitle(ctx contextx.Contextx, id int64, title string) (*entitytask.Task, error)
- func (_m *IBiz) UpdateStatus(ctx contextx.Contextx, id int64, status entitytask.Status) (*entitytask.Task, 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) ModifyTitle ¶
func (_m *IBiz) ModifyTitle(ctx contextx.Contextx, id int64, title string) (*entitytask.Task, error)
ModifyTitle provides a mock function with given fields: ctx, id, title
func (*IBiz) UpdateStatus ¶
func (_m *IBiz) UpdateStatus(ctx contextx.Contextx, id int64, status entitytask.Status) (*entitytask.Task, error)
UpdateStatus provides a mock function with given fields: ctx, id, status
Click to show internal directories.
Click to hide internal directories.