package models import "github.com/gofrs/uuid/v5" type Todo struct { Id uuid.UUID Name string Done bool } func NewTodo(id uuid.UUID, name string, done bool) Todo { return Todo{ Id: id, Name: name, Done: done, } }