Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToStruct ¶
func ConvertToStruct(Map interface{}, pointer interface{})
ConvertToStruct 从map中复制数据到结构体,按名称
func MapToStruct ¶
func MapToStruct(m interface{}, structure interface{}) error
MapToStruct map转为struct,名称、类型一致
func MergeValue ¶
func MergeValue(source, target interface{}) error
MergeValue 将source数据覆盖target中的空数据(默认值认为是空)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.