AddHeader adds a plain-text header row (no coloring).
(cols []string)
| 27 | |
| 28 | // AddHeader adds a plain-text header row (no coloring). |
| 29 | func (tw *TableWriter) AddHeader(cols []string) { |
| 30 | tw.rows = append(tw.rows, tableRow{plain: cols, colored: cols}) |
| 31 | } |
| 32 | |
| 33 | // AddSeparator adds a row of dashes sized to match column widths. |
| 34 | // The actual dash strings are computed in Flush. |
no outgoing calls