adding in new fields with user todos and query
This commit is contained in:
@@ -15,6 +15,7 @@ type Todo struct {
|
||||
}
|
||||
|
||||
type User struct {
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Todos []*Todo `json:"todos"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user