Added NoteStore interface, mock and repository with Create method

This commit is contained in:
Micheal Wilkinson
2026-03-17 21:13:11 +00:00
parent c05603d624
commit 2f035ee485
6 changed files with 42 additions and 41 deletions

View File

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