Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Crawler ¶
Crawler is an autogenerated mock type for the Crawler type
func NewCrawler ¶
NewCrawler creates a new instance of Crawler. 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.
type Publisher ¶
Publisher is an autogenerated mock type for the Publisher type
func NewPublisher ¶
NewPublisher creates a new instance of Publisher. 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.
type TrackResultRepo ¶
TrackResultRepo is an autogenerated mock type for the TrackResultRepo type
func NewTrackResultRepo ¶
func NewTrackResultRepo(t interface { mock.TestingT Cleanup(func()) }) *TrackResultRepo
NewTrackResultRepo creates a new instance of TrackResultRepo. 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 (*TrackResultRepo) Set ¶
func (_m *TrackResultRepo) Set(ctx context.Context, track *models.TrackingNumber, crawler *models.Crawler) error
Set provides a mock function with given fields: ctx, track, crawler