diff --git a/decorators.go b/decorators.go index fb411b8..3df3f31 100644 --- a/decorators.go +++ b/decorators.go @@ -38,6 +38,8 @@ f DecoratorFunc } +// PrependName prepends name argument to the bar. +// The conf argument defines the formatting properties func (b *Bar) PrependName(name string, minWidth int, conf byte) *Bar { format := "%%" if (conf & DidentRight) != 0 {