chore: refactor project structure

This commit is contained in:
2026-03-28 14:44:07 -05:00
parent 89f692ac6d
commit a9ca077edd
3 changed files with 28 additions and 32 deletions

11
internal/models/task.go Normal file
View File

@@ -0,0 +1,11 @@
package models
import "time"
type Task struct {
Id int `json:"id"`
Text string `json:"text"`
Completed bool `json:"completed"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}