YetAnotherToDoList/graph/model/todo.go

9 lines
142 B
Go
Raw Normal View History

2023-09-01 21:33:26 +02:00
package model
type Todo struct {
ID string `json:"id"`
Text string `json:"text"`
Done bool `json:"done"`
User *User `json:"user"`
}