Documentation ¶
Index ¶
- type BookRepo
- func (repo *BookRepo) Create(book *model.Book) (*model.Book, error)
- func (repo *BookRepo) Delete(ID objectid.ObjectID) (int64, error)
- func (repo *BookRepo) Get(ID string) (*model.Book, error)
- func (repo *BookRepo) List(filters *model.BookFilter, sorting *model.Sorting) ([]model.Book, error)
- func (repo *BookRepo) Update(book *model.Book) (*model.Book, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookRepo ¶
type BookRepo struct {
interfaces.IBookRepository
}
BookRepo book repository
Click to show internal directories.
Click to hide internal directories.