Documentation ¶
Overview ¶
Package dump contains functions used to dump documents to JSON, YAML and Table formats
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSON ¶
JSON dumps the given data to the given stream so that it looks pretty. If the data is a valid JSON document then it will be indented before printing it. If the `jq` tool is available in the path then it will be used for syntax highlighting.
func Table ¶
Table prints the given data into a formatted table. Only properties that have a `header` tag will be printed. See https://github.com/lensesio/tableprinter
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.