Documentation ¶
Overview ¶
Package repo is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CampaignCreator ¶
CampaignCreator is an interface to create a new campaign
type CampaignFinder ¶
type CampaignUpdater ¶
type ListCampaignCondition ¶
ListCampaignCondition is a struct to define the condition of list campaign
type MockCampaignCreator ¶
type MockCampaignCreator struct {
// contains filtered or unexported fields
}
MockCampaignCreator is a mock of CampaignCreator interface.
func NewMockCampaignCreator ¶
func NewMockCampaignCreator(ctrl *gomock.Controller) *MockCampaignCreator
NewMockCampaignCreator creates a new mock instance.
func (*MockCampaignCreator) EXPECT ¶
func (m *MockCampaignCreator) EXPECT() *MockCampaignCreatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCampaignCreatorMockRecorder ¶
type MockCampaignCreatorMockRecorder struct {
// contains filtered or unexported fields
}
MockCampaignCreatorMockRecorder is the mock recorder for MockCampaignCreator.
type MockCampaignFinder ¶
type MockCampaignFinder struct {
// contains filtered or unexported fields
}
MockCampaignFinder is a mock of CampaignFinder interface.
func NewMockCampaignFinder ¶
func NewMockCampaignFinder(ctrl *gomock.Controller) *MockCampaignFinder
NewMockCampaignFinder creates a new mock instance.
func (*MockCampaignFinder) EXPECT ¶
func (m *MockCampaignFinder) EXPECT() *MockCampaignFinderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCampaignFinder) List ¶
func (m *MockCampaignFinder) List(c context.Context, cond ListCampaignCondition) ([]*biz.Campaign, int64, error)
List mocks base method.
type MockCampaignFinderMockRecorder ¶
type MockCampaignFinderMockRecorder struct {
// contains filtered or unexported fields
}
MockCampaignFinderMockRecorder is the mock recorder for MockCampaignFinder.
type MockCampaignUpdater ¶
type MockCampaignUpdater struct {
// contains filtered or unexported fields
}
MockCampaignUpdater is a mock of CampaignUpdater interface.
func NewMockCampaignUpdater ¶
func NewMockCampaignUpdater(ctrl *gomock.Controller) *MockCampaignUpdater
NewMockCampaignUpdater creates a new mock instance.
func (*MockCampaignUpdater) EXPECT ¶
func (m *MockCampaignUpdater) EXPECT() *MockCampaignUpdaterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCampaignUpdater) UpdateStatus ¶
func (m *MockCampaignUpdater) UpdateStatus(c context.Context, id string, status model.CampaignStatus) error
UpdateStatus mocks base method.
type MockCampaignUpdaterMockRecorder ¶
type MockCampaignUpdaterMockRecorder struct {
// contains filtered or unexported fields
}
MockCampaignUpdaterMockRecorder is the mock recorder for MockCampaignUpdater.
func (*MockCampaignUpdaterMockRecorder) UpdateStatus ¶
func (mr *MockCampaignUpdaterMockRecorder) UpdateStatus(c, id, status any) *gomock.Call
UpdateStatus indicates an expected call of UpdateStatus.