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