Documentation ¶
Overview ¶
Package fmtutil implements some formatting utility functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( JSONPretty bool = true JSONPrefix string = "" JSONIndent string = " " )
Functions ¶
func PrintJSON ¶
func PrintJSON(in interface{}) error
PrintJSON pretty prints anything using a default indentation
func PrintJSONMin ¶
func PrintJSONMin(in interface{}) error
PrintJSONMin pretty prints anything using a default indentation
func PrintJSONMore ¶
PrintJSONMore pretty prints anything using supplied indentation.
func PrintReader ¶ added in v0.0.15
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.