()
| 45 | } |
| 46 | |
| 47 | func newProgress() *progress { |
| 48 | return &progress{ |
| 49 | start: time.Now(), |
| 50 | shutdown: make(chan struct{}), |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | func (p *progress) setPhase(ph phase) { |
| 55 | atomic.StoreInt32((*int32)(&p.phase), int32(ph)) |
no outgoing calls
no test coverage detected
searching dependent graphs…