(task *ent.Task)
| 101 | } |
| 102 | |
| 103 | func NewCreateArchiveTaskFromModel(task *ent.Task) queue.Task { |
| 104 | return &CreateArchiveTask{ |
| 105 | DBTask: &queue.DBTask{ |
| 106 | Task: task, |
| 107 | }, |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | func (m *CreateArchiveTask) Do(ctx context.Context) (task.Status, error) { |
| 112 | dep := dependency.FromContext(ctx) |
nothing calls this directly
no outgoing calls
no test coverage detected