Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
mpb
✓ github.com/vbauerster/mpb/v4
Create and display a progress bar.
package main
import (
"time"
"github.com/vbauerster/mpb/v4"
"github.com/vbauerster/mpb/v4/decor"
)
func main() {
p := mpb.New()
bar := p.AddBar(100, mpb.BarStyle(), mpb.PrependDecorators(decor.Name("loading")))
for i := 0; i < 100; i++ {
time.Sleep(10 * time.Millisecond)
bar.Increment()
}
p.Wait()
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
4.12.2latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.