diff --git a/README.md b/README.md index 13598ad..2ac06bf 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,8 @@ "math/rand" "time" - "github.com/vbauerster/mpb/v5" - "github.com/vbauerster/mpb/v5/decor" + "github.com/vbauerster/mpb/v6" + "github.com/vbauerster/mpb/v6/decor" ) func main() { diff --git a/bar.go b/bar.go index ad5c4b1..25a9e1b 100644 --- a/bar.go +++ b/bar.go @@ -12,7 +12,7 @@ "github.com/acarl005/stripansi" "github.com/mattn/go-runewidth" - "github.com/vbauerster/mpb/v5/decor" + "github.com/vbauerster/mpb/v6/decor" ) // Bar represents a progress Bar. diff --git a/bar_filler.go b/bar_filler.go index 22d7b89..32d51c0 100644 --- a/bar_filler.go +++ b/bar_filler.go @@ -3,7 +3,7 @@ import ( "io" - "github.com/vbauerster/mpb/v5/decor" + "github.com/vbauerster/mpb/v6/decor" ) // BarFiller interface. diff --git a/bar_filler_bar.go b/bar_filler_bar.go index 3802c03..89c4893 100644 --- a/bar_filler_bar.go +++ b/bar_filler_bar.go @@ -6,8 +6,8 @@ "unicode/utf8" "github.com/mattn/go-runewidth" - "github.com/vbauerster/mpb/v5/decor" - "github.com/vbauerster/mpb/v5/internal" + "github.com/vbauerster/mpb/v6/decor" + "github.com/vbauerster/mpb/v6/internal" ) const ( diff --git a/bar_filler_spinner.go b/bar_filler_spinner.go index 8fcfb77..a1d0e12 100644 --- a/bar_filler_spinner.go +++ b/bar_filler_spinner.go @@ -5,8 +5,8 @@ "strings" "github.com/mattn/go-runewidth" - "github.com/vbauerster/mpb/v5/decor" - "github.com/vbauerster/mpb/v5/internal" + "github.com/vbauerster/mpb/v6/decor" + "github.com/vbauerster/mpb/v6/internal" ) // SpinnerAlignment enum. diff --git a/bar_option.go b/bar_option.go index 4af8960..5aa1219 100644 --- a/bar_option.go +++ b/bar_option.go @@ -4,8 +4,8 @@ "bytes" "io" - "github.com/vbauerster/mpb/v5/decor" - "github.com/vbauerster/mpb/v5/internal" + "github.com/vbauerster/mpb/v6/decor" + "github.com/vbauerster/mpb/v6/internal" ) // BarOption is a function option which changes the default behavior of a bar. diff --git a/bar_test.go b/bar_test.go index 3d37bc2..1f0067c 100644 --- a/bar_test.go +++ b/bar_test.go @@ -10,8 +10,8 @@ "time" "unicode/utf8" - "github.com/vbauerster/mpb/v5" - "github.com/vbauerster/mpb/v5/decor" + "github.com/vbauerster/mpb/v6" + "github.com/vbauerster/mpb/v6/decor" ) func TestBarCompleted(t *testing.T) { diff --git a/barbench_test.go b/barbench_test.go index f5086f2..76beece 100644 --- a/barbench_test.go +++ b/barbench_test.go @@ -4,7 +4,7 @@ "io/ioutil" "testing" - "github.com/vbauerster/mpb/v5/decor" + "github.com/vbauerster/mpb/v6/decor" ) func BenchmarkIncrSingleBar(b *testing.B) { diff --git a/container_option.go b/container_option.go index c59c3a5..0b14ebb 100644 --- a/container_option.go +++ b/container_option.go @@ -6,7 +6,7 @@ "sync" "time" - "github.com/vbauerster/mpb/v5/internal" + "github.com/vbauerster/mpb/v6/internal" ) // ContainerOption is a function option which changes the default diff --git a/decor/doc.go b/decor/doc.go index 6d26144..2596b3b 100644 --- a/decor/doc.go +++ b/decor/doc.go @@ -1,5 +1,5 @@ /* - Package decor provides common decorators for "github.com/vbauerster/mpb/v5" module. + Package decor provides common decorators for "github.com/vbauerster/mpb/v6" module. Some decorators returned by this package might have a closure state. It is ok to use decorators concurrently, unless you share the same decorator among multiple diff --git a/decor/percentage.go b/decor/percentage.go index d6314a6..f4922bb 100644 --- a/decor/percentage.go +++ b/decor/percentage.go @@ -5,7 +5,7 @@ "io" "strconv" - "github.com/vbauerster/mpb/v5/internal" + "github.com/vbauerster/mpb/v6/internal" ) type percentageType float64 diff --git a/decorators_test.go b/decorators_test.go index 092b575..99c49ce 100644 --- a/decorators_test.go +++ b/decorators_test.go @@ -4,8 +4,8 @@ "sync" "testing" - "github.com/vbauerster/mpb/v5" - "github.com/vbauerster/mpb/v5/decor" + "github.com/vbauerster/mpb/v6" + "github.com/vbauerster/mpb/v6/decor" ) func TestNameDecorator(t *testing.T) { diff --git a/example_test.go b/example_test.go index 5f1b425..6f25c1b 100644 --- a/example_test.go +++ b/example_test.go @@ -7,8 +7,8 @@ "math/rand" "time" - "github.com/vbauerster/mpb/v5" - "github.com/vbauerster/mpb/v5/decor" + "github.com/vbauerster/mpb/v6" + "github.com/vbauerster/mpb/v6/decor" ) func Example() { diff --git a/go.mod b/go.mod index e80d1a1..d5e7762 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/vbauerster/mpb/v5 +module github.com/vbauerster/mpb/v6 require ( github.com/VividCortex/ewma v1.1.1 diff --git a/progress.go b/progress.go index f912bb1..e479994 100644 --- a/progress.go +++ b/progress.go @@ -13,8 +13,8 @@ "sync" "time" - "github.com/vbauerster/mpb/v5/cwriter" - "github.com/vbauerster/mpb/v5/decor" + "github.com/vbauerster/mpb/v6/cwriter" + "github.com/vbauerster/mpb/v6/decor" ) const ( diff --git a/progress_test.go b/progress_test.go index 336612d..b14c723 100644 --- a/progress_test.go +++ b/progress_test.go @@ -9,8 +9,8 @@ "testing" "time" - "github.com/vbauerster/mpb/v5" - "github.com/vbauerster/mpb/v5/decor" + "github.com/vbauerster/mpb/v6" + "github.com/vbauerster/mpb/v6/decor" ) func init() { diff --git a/proxyreader_test.go b/proxyreader_test.go index df35ef5..71e036b 100644 --- a/proxyreader_test.go +++ b/proxyreader_test.go @@ -7,7 +7,7 @@ "strings" "testing" - "github.com/vbauerster/mpb/v5" + "github.com/vbauerster/mpb/v6" ) const content = `Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do