MCPcopy
hub / github.com/pterm/pterm / WithRowSeparator

Method WithRowSeparator

table_printer.go:90–93  ·  view source on GitHub ↗

WithRowSeparator returns a new TablePrinter with a specific RowSeparator.

(separator string)

Source from the content-addressed store, hash-verified

88
89// WithRowSeparator returns a new TablePrinter with a specific RowSeparator.
90func (p TablePrinter) WithRowSeparator(separator string) *TablePrinter {
91 p.RowSeparator = separator
92 return &p
93}
94
95// WithRowSeparatorStyle returns a new TablePrinter with a specific RowSeparatorStyle.
96func (p TablePrinter) WithRowSeparatorStyle(style *Style) *TablePrinter {

Callers 3

mainFunction · 0.80

Calls

no outgoing calls