Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StripSpaces ¶
StripSpaces removes all whitespaces from a slice of bytes, including actual spaces, tabs, newlines, etc. An example usage would be to load a formatted, multiline json file exposed as human-readable test data and convert it into a compact form that can easily be compared with the stringified bytes of an unmarshalled json data structure for testing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.