WithBoxed returns a new TablePrinter with a box around the table.
(b ...bool)
| 114 | |
| 115 | // WithBoxed returns a new TablePrinter with a box around the table. |
| 116 | func (p TablePrinter) WithBoxed(b ...bool) *TablePrinter { |
| 117 | p.Boxed = internal.WithBoolean(b) |
| 118 | return &p |
| 119 | } |
| 120 | |
| 121 | // WithLeftAlignment returns a new TablePrinter with left alignment. |
| 122 | func (p TablePrinter) WithLeftAlignment(b ...bool) *TablePrinter { |