WithPanels returns a new PanelPrinter with specific options.
(panels Panels)
| 34 | |
| 35 | // WithPanels returns a new PanelPrinter with specific options. |
| 36 | func (p PanelPrinter) WithPanels(panels Panels) *PanelPrinter { |
| 37 | p.Panels = panels |
| 38 | return &p |
| 39 | } |
| 40 | |
| 41 | // WithPadding returns a new PanelPrinter with specific options. |
| 42 | func (p PanelPrinter) WithPadding(padding int) *PanelPrinter { |
no outgoing calls