From 9cb33137fe8e56434b5130862b16bc9b9ad31bd5 Mon Sep 17 00:00:00 2001 From: Micheal Wilkinson Date: Tue, 17 Mar 2026 20:13:46 +0000 Subject: [PATCH] Define a note --- internal/models/note.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 internal/models/note.go diff --git a/internal/models/note.go b/internal/models/note.go new file mode 100644 index 0000000..49b3b09 --- /dev/null +++ b/internal/models/note.go @@ -0,0 +1,11 @@ +package models + +import ( + "time" +) + +type Note struct { + ID int `json:"id"` + CreatedAt time.Time `json:"created_at"` + Content string `json:"content"` +} \ No newline at end of file