Documentation ¶
Index ¶
Constants ¶
View Source
const WriterFormat writer.Format = "table"
WriterFormat is the format of this writer.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Column ¶
type Column struct { // Name is a human readable name for the column. Name string `json:"name"` // Priority is an integer defining the relative importance of this column // compared to others. Lower numbers are considered higher priority. Priority int32 `json:"priority"` }
Column represents an individual column in a table.
type Row ¶
type Row struct { // Cells will be as wide as the column definitions array and may contain // strings, numbers, booleans, simple maps, lists, or null. Cells []interface{} `json:"cells"` // contains filtered or unexported fields }
Row represents an individual row in a table.
Click to show internal directories.
Click to hide internal directories.