Documentation ¶
Index ¶
- type IBookRepository
- func (_m *IBookRepository) BookCtx(next http.Handler) http.Handler
- func (_m *IBookRepository) Create(book *model.Book) (*model.Book, error)
- func (_m *IBookRepository) Delete(ID objectid.ObjectID) (int64, error)
- func (_m *IBookRepository) Get(ID string) (*model.Book, error)
- func (_m *IBookRepository) List(filters *model.BookFilter, sorting *model.Sorting) ([]model.Book, error)
- func (_m *IBookRepository) Update(book *model.Book) (*model.Book, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IBookRepository ¶
IBookRepository is an autogenerated mock type for the IBookRepository type
func (*IBookRepository) BookCtx ¶
func (_m *IBookRepository) BookCtx(next http.Handler) http.Handler
BookCtx provides a mock function with given fields: next
func (*IBookRepository) Delete ¶
func (_m *IBookRepository) Delete(ID objectid.ObjectID) (int64, error)
Delete provides a mock function with given fields: ID
func (*IBookRepository) Get ¶
func (_m *IBookRepository) Get(ID string) (*model.Book, error)
Get provides a mock function with given fields: ID
func (*IBookRepository) List ¶
func (_m *IBookRepository) List(filters *model.BookFilter, sorting *model.Sorting) ([]model.Book, error)
List provides a mock function with given fields: filters, sorting
Click to show internal directories.
Click to hide internal directories.