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