package model type Todo struct { Id int Title string Completed bool } var MaxId int = 0