(id string, tasks []*model.Task)
| 84 | } |
| 85 | |
| 86 | func findTaskByID(id string, tasks []*model.Task) *model.Task { |
| 87 | for _, t := range tasks { |
| 88 | if t.ID == id { |
| 89 | return t |
| 90 | } |
| 91 | } |
| 92 | return nil |
| 93 | } |
| 94 | |
| 95 | func buildGetOutput(task *model.Task, allTasks []*model.Task) getOutput { |
| 96 | taskMap := make(map[string]*model.Task, len(allTasks)) |
no outgoing calls
no test coverage detected