github.com/fortexxx/gqlgen@v0.10.3-0.20191216030626-ca5ea8b21ead/example/config/models_gen.go (about) 1 // Code generated by github.com/99designs/gqlgen, DO NOT EDIT. 2 3 package config 4 5 type NewTodo struct { 6 Text string `json:"text"` 7 UserID string `json:"userId"` 8 } 9 10 type Todo struct { 11 ID string `json:"id"` 12 DatabaseID int `json:"databaseId"` 13 Description string `json:"text"` 14 Done bool `json:"done"` 15 User *User `json:"user"` 16 }