gotodo/internal/model/model.go

11 lines
100 B
Go
Raw Normal View History

2023-09-03 13:45:51 +02:00
package model
type Todo struct {
Id int
Title string
Completed bool
}
type Todos map[int]Todo