gotodo/internal/model/model.go

10 lines
100 B
Go

package model
type Todo struct {
Id int
Title string
Completed bool
}
type Todos map[int]Todo