| 9 | ) |
| 10 | |
| 11 | type testTask struct { |
| 12 | RunFunc func(ctx context.Context) error |
| 13 | NeedsRunFunc func(ctx context.Context, lastRun RunInfo) bool |
| 14 | } |
| 15 | |
| 16 | func (t *testTask) Run(ctx context.Context) error { |
| 17 | return t.RunFunc(ctx) |
nothing calls this directly
no outgoing calls
no test coverage detected