Versions in this module Expand all Collapse all v0 v0.1.0 Oct 19, 2026 Changes in this version + const FormatJSON + const FormatTSV + var DefaultCaps = Caps + var ErrOutputCap = errors.New("render: the result is over the output cap") + func CapText(s string, maxChars int, jsonMode bool) (string, bool) + func Render(w io.Writer, t Table, l Caps, format string) error + func Text(v any) string + func Value(w io.Writer, v any, l Caps) error + type Caps struct + CutNote func(cells, maxChars int) string + MaxCellChars int + MaxOutputBytes int + MaxRows int + type Cells struct + Footer []string + Header []string + Rows [][]string + func TSVCells(t Table, l Caps) Cells + type Table struct + Affected int64 + Columns []string + Cut map[[2]int]bool + Rows [][]any + Truncated bool + func (t *Table) MarkCut(row, col int)