Documentation ¶
Index ¶
- func ConvertMapInterfaceMapString(v interface{}) interface{}
- func FlattenMap(prefix string, src map[string]interface{}, dest map[string]interface{})
- func RecursiveCastMapStringInterfaceToMapStringInterface(in map[string]interface{}) map[string]interface{}
- func ToMapStringInterface(mp interface{}) map[string]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertMapInterfaceMapString ¶
func ConvertMapInterfaceMapString(v interface{}) interface{}
ConvertMapInterfaceMapString converts map[interface{}]interface{} => map[string]interface{}
It will also convert []interface{} => []string
func FlattenMap ¶
FlattenMap flattens the given map and writes the flattened map in the dest
func RecursiveCastMapStringInterfaceToMapStringInterface ¶
func RecursiveCastMapStringInterfaceToMapStringInterface(in map[string]interface{}) map[string]interface{}
RecursiveCastMapStringInterfaceToMapStringInterface will convert a map[string]interface{} recursively => map[string]interface{}
func ToMapStringInterface ¶
func ToMapStringInterface(mp interface{}) map[string]interface{}
ToMapStringInterface takes in data of type interface and returns a map[string]interface{} from that data
If the conversion fails then returns an empty map
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.