Resolved returns true iff the activity interval ended in the past.
()
| 62 | |
| 63 | // Resolved returns true iff the activity interval ended in the past. |
| 64 | func (a *Alert) Resolved() bool { |
| 65 | return a.ResolvedAt(time.Now()) |
| 66 | } |
| 67 | |
| 68 | // ResolvedAt returns true iff the activity interval ended before |
| 69 | // the given timestamp. |