GetTaskByID returns the task with the given ID.
(ctx context.Context, taskID int)
| 39 | GetPendingTasks(ctx context.Context, taskType ...string) ([]*ent.Task, error) |
| 40 | // GetTaskByID returns the task with the given ID. |
| 41 | GetTaskByID(ctx context.Context, taskID int) (*ent.Task, error) |
| 42 | // SetCompleteByID sets the task with the given ID to complete. |
| 43 | SetCompleteByID(ctx context.Context, taskID int) error |
| 44 | // List returns a list of tasks with the given args. |