Documentation
¶
Index ¶
- func ArrMapStringToStruct(source []map[string]interface{}, dest interface{}) error
- func ArrStringToMapString(source []string) map[string]string
- func MapStringToStruct(source map[string]interface{}, dest interface{}) error
- func StructToArrMapString(v interface{}) ([]map[string]interface{}, error)
- func StructToMapString(v interface{}) (map[string]interface{}, error)
- func StructToType(v interface{}, dst interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrMapStringToStruct ¶
ArrMapStringToStruct map map[string]interface{} to given interface{} using json marshal and unmarshal
func ArrStringToMapString ¶
func MapStringToStruct ¶
MapStringToStruct map map[string]interface{} to given interface{} using json marshal and unmarshal
func StructToArrMapString ¶
StructToArrMapString map v to map[string]interface{} using json marshal and unmarshal
func StructToMapString ¶
StructToMapString map v to map[string]interface{} using json marshal and unmarshal
func StructToType ¶
func StructToType(v interface{}, dst interface{}) error
StructToType map v to given type using json marshal and unmarshal
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.