Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
func Decode(inData interface{}, outData interface{}) error
Decode JSON data to map/struct data types using mapstructure pkg.
func GetPrettyJSON ¶
GetPrettyJSON to encode data object into bytes format.
func PrintPrettyJSONToConsole ¶
func PrintPrettyJSONToConsole(data interface{})
PrintPrettyJSONToConsole to dump JSON data into console
func PrintPrettyJSONToFile ¶
PrintPrettyJSONToFile to write JSON data into file
func PrintPrettyJSONToLog ¶
func PrintPrettyJSONToLog(data interface{})
PrintPrettyJSONToLog to log JSON data
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.