Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatJSON ¶
FormatJSON takes a string and returns a formatted JSON string if the string passed is a valid JSON string
Types ¶
type JSONFormatter ¶
type JSONFormatter struct{}
JSONFormatter implmentation of format
func (*JSONFormatter) Format ¶
func (jf *JSONFormatter) Format(data string) string
Click to show internal directories.
Click to hide internal directories.