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

Method WithBoxed

table_printer.go:116–119  ·  view source on GitHub ↗

WithBoxed returns a new TablePrinter with a box around the table.

(b ...bool)

Source from the content-addressed store, hash-verified

114
115// WithBoxed returns a new TablePrinter with a box around the table.
116func (p TablePrinter) WithBoxed(b ...bool) *TablePrinter {
117 p.Boxed = internal.WithBoolean(b)
118 return &p
119}
120
121// WithLeftAlignment returns a new TablePrinter with left alignment.
122func (p TablePrinter) WithLeftAlignment(b ...bool) *TablePrinter {

Callers 9

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 1

WithBooleanFunction · 0.92

Tested by 1