Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IUpdater ¶
type IUpdater interface { GetAllAvailableBooks(cmd types.ICommand, series []types.Series) (types.ISBNBooks, error) UpdateLibrary(ctx context.Context, library types.ILibrary, availableBooks types.ISBNBooks) (types.ISBNBooks, error) }
func GetUpdater ¶
func NewUpdater ¶
func NewUpdater() IUpdater
type IUpdaterMock ¶
IUpdaterMock is an autogenerated mock type for the IUpdater type
func NewIUpdaterMock ¶
func NewIUpdaterMock(t interface { mock.TestingT Cleanup(func()) }) *IUpdaterMock
NewIUpdaterMock creates a new instance of IUpdaterMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IUpdaterMock) GetAllAvailableBooks ¶
func (_m *IUpdaterMock) GetAllAvailableBooks(ctx types.ICommand, series []types.Series) (types.ISBNBooks, error)
GetAllAvailableBooks provides a mock function with given fields: ctx, series
Click to show internal directories.
Click to hide internal directories.