Documentation ¶
Overview ¶
Package pretty defines helper functions to pretty-print structs for logging.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatJSON ¶
FormatJSON formats the input json bytes with indentation.
If Indent fails, it returns the unchanged input as string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.