Documentation ¶
Index ¶
- type IRepo
- func (_m *IRepo) Count(ctx contextx.Contextx, userID int64, resultID int64) (int, error)
- func (_m *IRepo) Create(ctx contextx.Contextx, task *todo.Task) (*todo.Task, error)
- func (_m *IRepo) Delete(ctx contextx.Contextx, userID int64, id int64, resultID int64) (int, error)
- func (_m *IRepo) List(ctx contextx.Contextx, userID int64, resultID int64, offset int, limit int) ([]*todo.Task, error)
- func (_m *IRepo) QueryByID(ctx contextx.Contextx, userID int64, id int64, resultID int64) (*todo.Task, error)
- func (_m *IRepo) Update(ctx contextx.Contextx, updated *todo.Task) (*todo.Task, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IRepo ¶
IRepo is an autogenerated mock type for the IRepo type
func (*IRepo) List ¶
func (_m *IRepo) List(ctx contextx.Contextx, userID int64, resultID int64, offset int, limit int) ([]*todo.Task, error)
List provides a mock function with given fields: ctx, userID, resultID, offset, limit
Click to show internal directories.
Click to hide internal directories.