Codebase list golang-github-vbauerster-mpb / dce1e52
readme update Vladimir Bauer 8 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
4747 // replace ETA decorator with "done" message, OnComplete event
4848 decor.OnComplete(
4949 // ETA decorator with ewma age of 60, and width reservation of 4
50 decor.ETA(decor.ET_STYLE_GO, 60, sbEta, decor.WC{W: 4}), "done",
50 decor.EwmaETA(decor.ET_STYLE_GO, 60, sbEta, decor.WC{W: 4}), "done",
5151 ),
5252 ),
5353 mpb.AppendDecorators(decor.Percentage()),
8686 // replace ETA decorator with "done" message, OnComplete event
8787 decor.OnComplete(
8888 // ETA decorator with ewma age of 60
89 decor.ETA(decor.ET_STYLE_GO, 60, sbEta), "done",
89 decor.EwmaETA(decor.ET_STYLE_GO, 60, sbEta), "done",
9090 ),
9191 ),
9292 )