adding in gqlgen

This commit is contained in:
talksik
2023-05-23 16:03:47 -07:00
parent a88582301e
commit a945d2ee54
11 changed files with 4072 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
// Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
package model
type NewTodo struct {
Text string `json:"text"`
UserID string `json:"userId"`
}
type Todo struct {
ID string `json:"id"`
Text string `json:"text"`
Done bool `json:"done"`
User *User `json:"user"`
}
type User struct {
ID string `json:"id"`
Name string `json:"name"`
}