Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintJson ¶
func PrintJson[a PrintableThing](writer io.Writer, columns []string, things []a) error
func PrintTable ¶
func PrintTable[a PrintableThing](writer io.Writer, columns []string, things []a) error
Types ¶
type PrintableMap ¶
type PrintableMap map[string]interface{}
func (PrintableMap) AsJson ¶
func (p PrintableMap) AsJson(columns []string) (json.RawMessage, error)
func (PrintableMap) AsTableRow ¶
func (p PrintableMap) AsTableRow(columns []string) []string
type PrintableThing ¶
Click to show internal directories.
Click to hide internal directories.