Documentation ¶
Index ¶
- func Clone(m map[interface{}]interface{}) map[interface{}]interface{}
- func CloneStringInterface(m map[string]interface{}) map[string]interface{}
- func ConvertMapValuesBasedOnModel(input map[string]interface{}, modelStruct interface{}, opts *MapConvertOpts) (map[string]interface{}, error)
- func CopyStringInterface(from map[string]interface{}, to map[string]interface{})
- func IsMap(v interface{}) bool
- func Keys()
- func RecursiveCopyToExistent(from map[string]interface{}, to map[string]interface{}) map[string]interface{}
- type MapConvertOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloneStringInterface ¶
func ConvertMapValuesBasedOnModel ¶
func ConvertMapValuesBasedOnModel( input map[string]interface{}, modelStruct interface{}, opts *MapConvertOpts, ) (map[string]interface{}, error)
func CopyStringInterface ¶
func RecursiveCopyToExistent ¶
func RecursiveCopyToExistent(from map[string]interface{}, to map[string]interface{}) map[string]interface{}
it will copy the values from -> to only for existent to keys!!! no more!
Types ¶
type MapConvertOpts ¶
Click to show internal directories.
Click to hide internal directories.