Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( WithTruncate = tableprinter.WithTruncate WithColor = tableprinter.WithColor )
Functions ¶
This section is empty.
Types ¶
type TablePrinter ¶
type TablePrinter struct {
tableprinter.TablePrinter
// contains filtered or unexported fields
}
func New ¶
func New(ios *iostreams.IOStreams) *TablePrinter
func (*TablePrinter) AddTimeField ¶
func (tp *TablePrinter) AddTimeField(t time.Time, c func(string) string)
func (*TablePrinter) HeaderRow ¶
func (t *TablePrinter) HeaderRow(columns ...string)
Click to show internal directories.
Click to hide internal directories.