diff --git a/bar.go b/bar.go index d0a142a..03fa65d 100644 --- a/bar.go +++ b/bar.go @@ -132,11 +132,6 @@ // Increment is a shorthand for b.IncrBy(1) func (b *Bar) Increment() { b.IncrBy(1) -} - -// Incr Deprecated! Use IncrBy(int) or Increment() instead -func (b *Bar) Incr(n int) { - b.IncrBy(n) } // IncrBy increments progress bar by amount of n diff --git a/decor/decorators.go b/decor/decorators.go index cd272bf..2d5975f 100644 --- a/decor/decorators.go +++ b/decor/decorators.go @@ -47,11 +47,6 @@ // DecoratorFunc is a function that can be prepended and appended to the progress bar type DecoratorFunc func(s *Statistics, widthAccumulator chan<- int, widthDistributor <-chan int) string -// Name deprecated, use StaticName instead -func Name(name string, minWidth int, conf byte) DecoratorFunc { - return StaticName(name, minWidth, conf) -} - // StaticName to be used, when there is no plan to change the name during whole // life of a progress rendering process func StaticName(name string, minWidth int, conf byte) DecoratorFunc { diff --git a/progress.go b/progress.go index 5340dc0..7564337 100644 --- a/progress.go +++ b/progress.go @@ -137,11 +137,6 @@ return } <-p.done -} - -// Stop deprecated, use Progress.Wait instead. -func (p *Progress) Stop() { - p.Wait() } func newWidthSyncer(timeout <-chan struct{}, numBars, numColumn int) *widthSyncer {