package
0.0.0-20201028204652-de190fe47b8b
Repository: https://github.com/martinohmann/neat.git
Documentation: pkg.go.dev

# Functions

New creates a new *Table which will be rendered to the provided io.Writer using opts.
WithAlignment sets the default alignment for all table cells.
WithBorderMask controls the borders that should be displayed using a bit mask.
WithBorderRunes sets the runes that should be rendered for the individual border elements, e.g.
WithBorderStyle sets the style the should be applied to each border element.
WithColumnAlignment configures the cell alignment per column.
WithColumnStyle configures the cell style per column.
WithWordWrap configures the cell word wrapping behaviour per column.
WithMargin sets the left and right margin of table rows.
WithMaxWidth sets the maximum table width.
WithPadding sets the horizontal padding between adjacent table cells.
WithAlignment sets the default style for all table cells.
WithWordWrap sets the default word wrapping behaviour for all table cells.

# Constants

# Variables

DefaultBorderRunes are the runes that will be used to draw table borders if not explicitly overridden via table options.

# Structs

Table can render properly aligned columns and rows of information.

# Type aliases

BorderMask controls which borders should be displayed.
BorderRune indicates the type of rune used for a border.
BorderRunes is a map of the BorderRune type to the actual rune that should be displayed.
Option is a func for configuring a *Table.