Documentation
¶
Index ¶
- func DeepMerge(dst, src map[string]interface{}) map[string]interface{}
- func PrintJSON(data map[interface{}]interface{}) error
- func PrintYAMLBytes(data []byte) error
- func ToInterface(inputMap map[string]interface{}) map[interface{}]interface{}
- func UnmarshalJSONorYAMLToInterface(data []byte, result *map[interface{}]interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeepMerge ¶
DeepMerge recursively merges src into dst If a key exists in both maps and both values are maps, it recursively merges them Otherwise, src values override dst values
func PrintJSON ¶
func PrintJSON(data map[interface{}]interface{}) error
PrintJSON prints a map as JSON
func PrintYAMLBytes ¶
PrintYAMLBytes prints YAML from byte slice
func ToInterface ¶
func ToInterface(inputMap map[string]interface{}) map[interface{}]interface{}
ToInterface converts a map[string]interface{} to a map[interface{}]interface{}.
func UnmarshalJSONorYAMLToInterface ¶
UnmarshalJSONorYAMLToInterface unmarshals data to interface map
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.