Files
gotes/internal/repository/notes.go

19 lines
363 B
Go

package repository
import (
"fmt"
"git.hrafn.xyz/aether/notes/internal/models"
)
type NoteRepository struct {
store NoteStore
}
func NewNoteRepository(store NoteStore) *NoteRepository {
return &NoteRepository{store: store}
}
func (r *NoteRepository) CreateNote(content string) (models.Note, error) {
return models.Note{}, fmt.Errorf("not implemented")
}