File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ m := mconv.ToMap(map[string]int{"a": 1}) // map[string]interface{}{"a": 1}
4343jsonStr := mconv.ToJSON (map [string ]interface {}{" name" : " John" }) // {"name":"John"}
4444personMap := mconv.ToMapFromJSON (` {"name":"Jane"}` ) // map[string]interface{}{"name": "Jane"}
4545
46- // Struct 转换功能已增强,请参阅下面的专门章节。
46+ // Struct 转换功能
4747```
4848
4949### 高级结构体转换
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ m := mconv.ToMap(map[string]int{"a": 1}) // map[string]interface{}{"a": 1}
4343jsonStr := mconv.ToJSON (map [string ]interface {}{" name" : " John" }) // {"name":"John"}
4444personMap := mconv.ToMapFromJSON (` {"name":"Jane"}` ) // map[string]interface{}{"name": "Jane"}
4545
46- // Struct conversion is now more powerful, see the dedicated section below.
46+ // Struct conversion
4747```
4848
4949### Advanced Struct Conversion
You can’t perform that action at this time.
0 commit comments