()
| 39 | } |
| 40 | |
| 41 | func newExampleService() *ExampleService { |
| 42 | return &ExampleService{ |
| 43 | jobStatus: make(map[string]ExampleItemStatus), |
| 44 | lock: sync.RWMutex{}, |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | // advance the status to next, and return |
| 49 | func (f *ExampleService) getStatus(id string) *ExampleCacheItem { |
no outgoing calls
no test coverage detected