Codebase list golang-github-vbauerster-mpb / 0b62ae1
minor: declare same type on one line Vladimir Bauer 3 years ago
2 changed file(s) with 7 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
3434
3535 func (m heapManager) run() {
3636 var bHeap priorityQueue
37 var pMatrix map[int][]chan int
38 var aMatrix map[int][]chan int
37 var pMatrix, aMatrix map[int][]chan int
3938
4039 var l int
4140 var sync bool
2222
2323 // Progress represents a container that renders one or more progress bars.
2424 type Progress struct {
25 uwg *sync.WaitGroup
26 bwg *sync.WaitGroup
27 operateState chan func(*pState)
28 interceptIO chan func(io.Writer)
29 done chan struct{}
30 shutdown chan struct{}
31 cancel func()
25 uwg *sync.WaitGroup
26 bwg *sync.WaitGroup
27 operateState chan func(*pState)
28 interceptIO chan func(io.Writer)
29 done, shutdown chan struct{}
30 cancel func()
3231 }
3332
3433 // pState holds bars in its priorityQueue, it gets passed to (*Progress).serve monitor goroutine.