interfaces themselves are actually trivial!
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
type Response struct {
|
||||
Root struct {
|
||||
Id string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Children []content `json:"children"`
|
||||
} `json:"root"`
|
||||
}
|
||||
|
||||
type content struct {
|
||||
Id string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
}
|
||||
Reference in New Issue
Block a user