Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Flatten ¶
func Flatten(kvMap map[string]string, format MapFormatFunction) []string
Flatten reduces a key-value map into a string array using the provided formatting function.
func KeyEqualsValueFormat ¶
KeyEqualsValueFormat is a formatting function for formatting a map entry like { "key": "value"} into "key=value" when flattening a map.
Types ¶
type MapFormatFunction ¶
Click to show internal directories.
Click to hide internal directories.