package
0.0.2
Repository: https://github.com/yiling-j/tablepilot.git
Documentation: pkg.go.dev

# Functions

DisplayWidth calculates what the rendered width of string s will be.
New initializes a table printer with terminal mode and terminal width.
PadRight returns a copy of the string s that has been padded on the right with whitespace to fit the maximum display width.
Truncate returns a copy of the string s that has been shortened to fit the maximum display width.
WithColor sets the color function for the field.
WithPadding overrides the padding function for the field.
WithTruncate overrides the truncation function for the field.

# Structs

TablePrinterMock is a mock implementation of TablePrinter.

# Interfaces

go:generate moq -rm -out table_moq.go .

# Type aliases

No description provided by the author