Documentation
¶
Index ¶
Constants ¶
View Source
const ( FormatTable = "table" FormatTSV = "tsv" FormatJSON = "json" )
FormatTable, FormatTSV, FormatJSON are the supported --format values.
Variables ¶
This section is empty.
Functions ¶
func Render ¶
Render writes the result to out in the named format. An empty format string auto-detects (table when out is a terminal, TSV otherwise).
func WriteTableBody ¶
WriteTableBody renders the header + separator + data rows, but no footer. Used both by renderTable (which appends the row count) and by Phase F write previews (which append their own "... N more" line).
Types ¶
Click to show internal directories.
Click to hide internal directories.