chore: initial inbox store model

This commit is contained in:
Steven
2023-10-27 01:10:19 +08:00
parent 59f0ee862d
commit e5978a70f5
8 changed files with 358 additions and 0 deletions

27
store/db/mysql/inbox.go Normal file
View File

@@ -0,0 +1,27 @@
package mysql
import (
"context"
"github.com/usememos/memos/store"
)
// nolint
func (d *DB) CreateInbox(ctx context.Context, create *store.Inbox) (*store.Inbox, error) {
return nil, nil
}
// nolint
func (d *DB) ListInboxes(ctx context.Context, find *store.FindInbox) ([]*store.Inbox, error) {
return nil, nil
}
// nolint
func (d *DB) UpdateInbox(ctx context.Context, update *store.UpdateInbox) (*store.Inbox, error) {
return nil, nil
}
// nolint
func (d *DB) DeleteInbox(ctx context.Context, delete *store.DeleteInbox) error {
return nil
}