WithText adds a text to the SpinnerPrinter.
(text string)
| 54 | |
| 55 | // WithText adds a text to the SpinnerPrinter. |
| 56 | func (s SpinnerPrinter) WithText(text string) *SpinnerPrinter { |
| 57 | s.Text = text |
| 58 | return &s |
| 59 | } |
| 60 | |
| 61 | // WithSequence adds a sequence to the SpinnerPrinter. |
| 62 | func (s SpinnerPrinter) WithSequence(sequence ...string) *SpinnerPrinter { |
no outgoing calls