WithAlternateRowStyle returns a new TablePrinter with a specific AlternateRowStyle.
(style *Style)
| 142 | |
| 143 | // WithAlternateRowStyle returns a new TablePrinter with a specific AlternateRowStyle. |
| 144 | func (p TablePrinter) WithAlternateRowStyle(style *Style) *TablePrinter { |
| 145 | p.AlternateRowStyle = style |
| 146 | return &p |
| 147 | } |
| 148 | |
| 149 | type table struct { |
| 150 | rows []row |
no outgoing calls