mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
refactor: store
This commit is contained in:
@ -45,11 +45,3 @@ type MemoFind struct {
|
||||
type MemoDelete struct {
|
||||
ID *int `json:"id"`
|
||||
}
|
||||
|
||||
type MemoService interface {
|
||||
CreateMemo(create *MemoCreate) (*Memo, error)
|
||||
PatchMemo(patch *MemoPatch) (*Memo, error)
|
||||
FindMemoList(find *MemoFind) ([]*Memo, error)
|
||||
FindMemo(find *MemoFind) (*Memo, error)
|
||||
DeleteMemo(delete *MemoDelete) error
|
||||
}
|
||||
|
Reference in New Issue
Block a user