Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TableField ¶
TableField defines the mapping between a table header and a data field. This allows for custom headers and ordering of columns in the table output. The Field should match the name of the field in the struct.
type TabularData ¶
type TabularData struct {
Data any
Fields []TableField
}
TabularData is a wrapper for data that should be printed as a table. It allows for specifying the fields to be included in the table, along with their headers and order.
Click to show internal directories.
Click to hide internal directories.