explicit initialization isn't necessary
Vladimir Bauer
3 years ago
| 72 | 72 |
// method has been called.
|
| 73 | 73 |
func NewWithContext(ctx context.Context, options ...ContainerOption) *Progress {
|
| 74 | 74 |
s := &pState{
|
| 75 | |
bHeap: priorityQueue{},
|
| 76 | 75 |
rows: make([]io.Reader, 0, 64),
|
| 77 | 76 |
pool: make([]*Bar, 0, 64),
|
| 78 | 77 |
refreshRate: defaultRefreshRate,
|