Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookOperationsService ¶
BookOperationsService is an autogenerated mock type for the BookOperationsService type
func NewBookOperationsService ¶
func NewBookOperationsService(t mockConstructorTestingTNewBookOperationsService) *BookOperationsService
NewBookOperationsService creates a new instance of BookOperationsService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*BookOperationsService) ListByUser ¶
func (_m *BookOperationsService) ListByUser(userID string) ([]db.Book, error)
ListByUser provides a mock function with given fields: userID
type MagazineOperationsService ¶
MagazineOperationsService is an autogenerated mock type for the MagazineOperationsService type
func NewMagazineOperationsService ¶
func NewMagazineOperationsService(t mockConstructorTestingTNewMagazineOperationsService) *MagazineOperationsService
NewMagazineOperationsService creates a new instance of MagazineOperationsService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MagazineOperationsService) ListByUser ¶
func (_m *MagazineOperationsService) ListByUser(userID string) ([]db.Magazine, error)
ListByUser provides a mock function with given fields: userID
type PostingService ¶
PostingService is an autogenerated mock type for the PostingService type
func NewPostingService ¶
func NewPostingService(t mockConstructorTestingTNewPostingService) *PostingService
NewPostingService creates a new instance of PostingService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*PostingService) NewBookOrder ¶
func (_m *PostingService) NewBookOrder(b db.Book) error
NewBookOrder provides a mock function with given fields: b
func (*PostingService) NewMagazineOrder ¶
func (_m *PostingService) NewMagazineOrder(m db.Magazine) error
NewMagazineOrder provides a mock function with given fields: m
type ResponseItemType ¶
ResponseItemType is an autogenerated mock type for the ResponseItemType type
func NewResponseItemType ¶
func NewResponseItemType(t mockConstructorTestingTNewResponseItemType) *ResponseItemType
NewResponseItemType creates a new instance of ResponseItemType. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.