Skip to content

Commit 0bb237b

Browse files
author
lixueping
committed
添加基于Struct的JSON创建
1 parent 792907e commit 0bb237b

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

.idea/libraries/GOPATH__json_.xml

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

model/nestable.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type Children struct {
1515
}
1616

1717
type Nestable struct {
18-
Name string `json:"name"`
18+
Name string `json:"name"`
1919
Group []Children `json:"group"`
2020
}
2121

0 commit comments

Comments
 (0)