MCPcopy Index your code
hub / github.com/pterm/pterm / WithHeaderRowSeparator

Method WithHeaderRowSeparator

table_printer.go:66–69  ·  view source on GitHub ↗

WithHeaderRowSeparator returns a new TablePrinter with a specific header HeaderRowSeparator.

(separator string)

Source from the content-addressed store, hash-verified

64
65// WithHeaderRowSeparator returns a new TablePrinter with a specific header HeaderRowSeparator.
66func (p TablePrinter) WithHeaderRowSeparator(separator string) *TablePrinter {
67 p.HeaderRowSeparator = separator
68 return &p
69}
70
71// WithHeaderRowSeparatorStyle returns a new TablePrinter with a specific header HeaderRowSeparatorStyle.
72func (p TablePrinter) WithHeaderRowSeparatorStyle(style *Style) *TablePrinter {

Callers 3

mainFunction · 0.80

Calls

no outgoing calls