flightGroup is defined as an interface which flightgroup.Group satisfies. We define this so that we may test with an alternate implementation.
| 181 | // satisfies. We define this so that we may test with an alternate |
| 182 | // implementation. |
| 183 | type flightGroup interface { |
| 184 | // Done is called when Do is done. |
| 185 | Do(key string, fn func() (interface{}, error)) (interface{}, error) |
| 186 | } |
| 187 | |
| 188 | // Stats are per-group statistics. |
| 189 | type Stats struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…