IsValid checks if the task has required fields
()
| 172 | |
| 173 | // IsValid checks if the task has required fields |
| 174 | func (t *Task) IsValid() bool { |
| 175 | return t.ID != "" && t.Title != "" |
| 176 | } |
| 177 | |
| 178 | // GetGroup returns the group, prioritizing frontmatter over derived value |
| 179 | func (t *Task) GetGroup() string { |
no outgoing calls