| 73 | } |
| 74 | |
| 75 | type ttyTablePrinter struct { |
| 76 | out io.Writer |
| 77 | maxWidth int |
| 78 | hasHeaders bool |
| 79 | rows [][]tableField |
| 80 | } |
| 81 | |
| 82 | func (t *ttyTablePrinter) AddHeader(columns []string, opts ...fieldOption) { |
| 83 | if t.hasHeaders { |
nothing calls this directly
no outgoing calls
no test coverage detected