public setup

This commit is contained in:
2024-08-19 14:56:20 +02:00
commit 4fac3fbfa3
18 changed files with 682 additions and 0 deletions

9
model/model.go Normal file
View File

@@ -0,0 +1,9 @@
package model
type Todo struct {
ID int `json:"id"`
Title string `json:"title"`
Done bool `json:"done"`
}
type Todos []Todo