MCPcopy Create free account
hub / github.com/cli/go-gh / ttyTablePrinter

Struct ttyTablePrinter

pkg/tableprinter/table.go:75–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected