(items []TaskDependencyRecord)
| 4496 | } |
| 4497 | |
| 4498 | func taskDependencyRows(items []TaskDependencyRecord) [][]string { |
| 4499 | rows := make([][]string, 0, len(items)) |
| 4500 | for _, item := range items { |
| 4501 | rows = append(rows, []string{ |
| 4502 | stringOrDash(item.TaskID), |
| 4503 | stringOrDash(item.DependsOnTaskID), |
| 4504 | stringOrDash(string(item.Kind)), |
| 4505 | stringOrDash(formatTime(item.CreatedAt)), |
| 4506 | }) |
| 4507 | } |
| 4508 | return rows |
| 4509 | } |
| 4510 | |
| 4511 | func taskDependencyToonRows(items []TaskDependencyRecord) [][]string { |
| 4512 | rows := make([][]string, 0, len(items)) |
no test coverage detected