ListTask is a Task implementation that logs all updates in a list where each entry is line-delimited. For example: entry #1 entry #2 msg: ..., done.
| 14 | // entry #2 |
| 15 | // msg: ..., done. |
| 16 | type ListTask struct { |
| 17 | msg string |
| 18 | ch chan *Update |
| 19 | } |
| 20 | |
| 21 | // NewListTask instantiates a new *ListTask instance with the given message. |
| 22 | func NewListTask(msg string) *ListTask { |
nothing calls this directly
no outgoing calls
no test coverage detected