fixed additional progress examples
1 files changed, 5 insertions(+), 2 deletions(-) M progress/doc_test.go
M progress/doc_test.go => progress/doc_test.go +5-2
@@ 9,12 9,15 @@ func Example() { // The easiest way to get a progressbar is as follows func Example_styled() { var p Progress p.SetStyle("") p.SetStyle("parallelogram") p.GetBar(275, 346) } // The easiest way to get a progressbar is as follows func Example() { func Example_customStyle() { var p Progress DefineStyle("my-style", []string{"○", "◔", "◑", "◕", "●"}) p.SetStyle("my-style") p.GetBar(275, 346) }