Michael Thomson 6f7bcc9503
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/dryrun Pipeline was successful
ci/woodpecker/push/publish-tag Pipeline was successful
ci/woodpecker/push/publish-latest Pipeline was successful
postgres and such
2024-06-17 23:37:43 -04:00

19 lines
238 B
Go

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,
}
}