Added NoteStore interface, mock and repository with Create method
This commit is contained in:
8
internal/repository/notestore.go
Normal file
8
internal/repository/notestore.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package repository
|
||||
|
||||
import (
|
||||
"git.hrafn.xyz/aether/notes/internal/models"
|
||||
)
|
||||
type NoteStore interface {
|
||||
SaveNote(models.Note) (models.Note, error)
|
||||
}
|
||||
Reference in New Issue
Block a user