refactoring createdat to last update ... it will make sense

This commit is contained in:
Micheal Wilkinson
2026-03-17 21:31:06 +00:00
parent 95f4eb38f4
commit 26b16cc411
2 changed files with 21 additions and 21 deletions

View File

@@ -5,7 +5,7 @@ import (
)
type Note struct {
ID int `json:"id"`
CreatedAt time.Time `json:"created_at"`
Content string `json:"content"`
ID int `json:"id"`
LastUpdate time.Time `json:"last_update"`
Content string `json:"content"`
}