WithBoxPrinter returns a new PanelPrinter with specific options.
(boxPrinter BoxPrinter)
| 64 | |
| 65 | // WithBoxPrinter returns a new PanelPrinter with specific options. |
| 66 | func (p PanelPrinter) WithBoxPrinter(boxPrinter BoxPrinter) *PanelPrinter { |
| 67 | p.BoxPrinter = boxPrinter |
| 68 | return &p |
| 69 | } |
| 70 | |
| 71 | // WithWriter sets the custom Writer. |
| 72 | func (p PanelPrinter) WithWriter(writer io.Writer) *PanelPrinter { |
no outgoing calls