Testing List notes

This commit is contained in:
Micheal Wilkinson
2026-03-17 21:26:28 +00:00
parent 9d35cc39c6
commit 7e0701d50d
4 changed files with 67 additions and 0 deletions

View File

@@ -27,3 +27,7 @@ func (r *NoteRepository) CreateNote(content string) (models.Note, error) {
func (r *NoteRepository) GetNote(id int) (models.Note, error) {
return r.store.GetNoteByID(id)
}
func (r *NoteRepository) ListNotes() ([]models.Note, error) {
return []models.Note{}, fmt.Errorf("not implemented")
}