Implemented the missing get function

This commit is contained in:
Micheal Wilkinson
2026-03-17 21:23:52 +00:00
parent 087b21d5dd
commit 9d35cc39c6

View File

@@ -25,5 +25,5 @@ func (r *NoteRepository) CreateNote(content string) (models.Note, error) {
} }
func (r *NoteRepository) GetNote(id int) (models.Note, error) { func (r *NoteRepository) GetNote(id int) (models.Note, error) {
return models.Note{}, fmt.Errorf("not implemented") return r.store.GetNoteByID(id)
} }