4feb1f61f2
map与struct之间转换的处理工具使用示例,参考代码地址:https://github.com/mitchellh/mapstructure json与struct之间转换处理工具使用示例
8 lines
83 B
Go
8 lines
83 B
Go
package entity
|
|
|
|
type Entity struct {
|
|
Num int
|
|
S string
|
|
T map[string]string
|
|
}
|