adding in new fields with user todos and query

This commit is contained in:
talksik
2023-05-23 17:06:07 -07:00
parent eb1492f509
commit 6d13b37830
5 changed files with 257 additions and 28 deletions
+3 -2
View File
@@ -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"`
}