Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InsertBookService ¶
InsertBookService is an autogenerated mock type for the InsertBookService type
func NewInsertBookService ¶
func NewInsertBookService(t mockConstructorTestingTNewInsertBookService) *InsertBookService
NewInsertBookService creates a new instance of InsertBookService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*InsertBookService) Call ¶
func (_m *InsertBookService) Call(ctx context.Context, book book_model.Book) (book_model.Book, error)
Call provides a mock function with given fields: ctx, book
type UpdateBookService ¶
UpdateBookService is an autogenerated mock type for the UpdateBookService type
func NewUpdateBookService ¶
func NewUpdateBookService(t mockConstructorTestingTNewUpdateBookService) *UpdateBookService
NewUpdateBookService creates a new instance of UpdateBookService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*UpdateBookService) Call ¶
func (_m *UpdateBookService) Call(ctx context.Context, book book_model.Book) (book_model.Book, error)
Call provides a mock function with given fields: ctx, book
Click to show internal directories.
Click to hide internal directories.