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

@@ -16,4 +16,4 @@ func NewNoteRepository(store NoteStore) *NoteRepository {
func (r *NoteRepository) CreateNote(content string) (models.Note, error) {
return models.Note{}, fmt.Errorf("not implemented")
}
}