Documentation
¶
Overview ¶
Package usecasemock is a generated GoMock package.
Package usecasemock is a generated GoMock package.
Package usecasemock is a generated GoMock package.
Package usecasemock is a generated GoMock package.
Package usecasemock is a generated GoMock package.
Package usecasemock is a generated GoMock package.
Package usecasemock is a generated GoMock package.
Package usecasemock is a generated GoMock package.
Package usecasemock is a generated GoMock package.
Package usecasemock is a generated GoMock package.
Index ¶
- type MockProductAuthedCreator
- type MockProductAuthedCreatorMockRecorder
- type MockProductAuthedDeleter
- type MockProductAuthedDeleterMockRecorder
- type MockProductAuthedLister
- type MockProductAuthedListerMockRecorder
- type MockProductCreator
- type MockProductCreatorMockRecorder
- type MockProductDeleter
- type MockProductDeleterMockRecorder
- type MockProductFormValidator
- type MockProductFormValidatorMockRecorder
- type MockProductGetter
- type MockProductGetterMockRecorder
- type MockProductLister
- type MockProductListerMockRecorder
- type MockProductSellerChecker
- type MockProductSellerCheckerMockRecorder
- type MockProductUpdater
- type MockProductUpdaterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProductAuthedCreator ¶
type MockProductAuthedCreator struct {
// contains filtered or unexported fields
}
MockProductAuthedCreator is a mock of ProductAuthedCreator interface.
func NewMockProductAuthedCreator ¶
func NewMockProductAuthedCreator(ctrl *gomock.Controller) *MockProductAuthedCreator
NewMockProductAuthedCreator creates a new mock instance.
func (*MockProductAuthedCreator) AuthedCreate ¶
func (m *MockProductAuthedCreator) AuthedCreate(ctx context.Context, userId string, form usecase.AuthedProductForm) (usecase.Product, error)
AuthedCreate mocks base method.
func (*MockProductAuthedCreator) EXPECT ¶
func (m *MockProductAuthedCreator) EXPECT() *MockProductAuthedCreatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockProductAuthedCreatorMockRecorder ¶
type MockProductAuthedCreatorMockRecorder struct {
// contains filtered or unexported fields
}
MockProductAuthedCreatorMockRecorder is the mock recorder for MockProductAuthedCreator.
func (*MockProductAuthedCreatorMockRecorder) AuthedCreate ¶
func (mr *MockProductAuthedCreatorMockRecorder) AuthedCreate(ctx, userId, form interface{}) *gomock.Call
AuthedCreate indicates an expected call of AuthedCreate.
type MockProductAuthedDeleter ¶
type MockProductAuthedDeleter struct {
// contains filtered or unexported fields
}
MockProductAuthedDeleter is a mock of ProductAuthedDeleter interface.
func NewMockProductAuthedDeleter ¶
func NewMockProductAuthedDeleter(ctrl *gomock.Controller) *MockProductAuthedDeleter
NewMockProductAuthedDeleter creates a new mock instance.
func (*MockProductAuthedDeleter) AuthedDelete ¶
func (m *MockProductAuthedDeleter) AuthedDelete(ctx context.Context, userId, id string) error
AuthedDelete mocks base method.
func (*MockProductAuthedDeleter) EXPECT ¶
func (m *MockProductAuthedDeleter) EXPECT() *MockProductAuthedDeleterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockProductAuthedDeleterMockRecorder ¶
type MockProductAuthedDeleterMockRecorder struct {
// contains filtered or unexported fields
}
MockProductAuthedDeleterMockRecorder is the mock recorder for MockProductAuthedDeleter.
func (*MockProductAuthedDeleterMockRecorder) AuthedDelete ¶
func (mr *MockProductAuthedDeleterMockRecorder) AuthedDelete(ctx, userId, id interface{}) *gomock.Call
AuthedDelete indicates an expected call of AuthedDelete.
type MockProductAuthedLister ¶
type MockProductAuthedLister struct {
// contains filtered or unexported fields
}
MockProductAuthedLister is a mock of ProductAuthedLister interface.
func NewMockProductAuthedLister ¶
func NewMockProductAuthedLister(ctrl *gomock.Controller) *MockProductAuthedLister
NewMockProductAuthedLister creates a new mock instance.
func (*MockProductAuthedLister) AuthedList ¶
func (m *MockProductAuthedLister) AuthedList(ctx context.Context, userId string, limit, offset int) (usecase.ProductList, error)
AuthedList mocks base method.
func (*MockProductAuthedLister) EXPECT ¶
func (m *MockProductAuthedLister) EXPECT() *MockProductAuthedListerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockProductAuthedListerMockRecorder ¶
type MockProductAuthedListerMockRecorder struct {
// contains filtered or unexported fields
}
MockProductAuthedListerMockRecorder is the mock recorder for MockProductAuthedLister.
func (*MockProductAuthedListerMockRecorder) AuthedList ¶
func (mr *MockProductAuthedListerMockRecorder) AuthedList(ctx, userId, limit, offset interface{}) *gomock.Call
AuthedList indicates an expected call of AuthedList.
type MockProductCreator ¶
type MockProductCreator struct {
// contains filtered or unexported fields
}
MockProductCreator is a mock of ProductCreator interface.
func NewMockProductCreator ¶
func NewMockProductCreator(ctrl *gomock.Controller) *MockProductCreator
NewMockProductCreator creates a new mock instance.
func (*MockProductCreator) Create ¶
func (m *MockProductCreator) Create(ctx context.Context, form usecase.ProductForm) (usecase.Product, error)
Create mocks base method.
func (*MockProductCreator) EXPECT ¶
func (m *MockProductCreator) EXPECT() *MockProductCreatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockProductCreatorMockRecorder ¶
type MockProductCreatorMockRecorder struct {
// contains filtered or unexported fields
}
MockProductCreatorMockRecorder is the mock recorder for MockProductCreator.
func (*MockProductCreatorMockRecorder) Create ¶
func (mr *MockProductCreatorMockRecorder) Create(ctx, form interface{}) *gomock.Call
Create indicates an expected call of Create.
type MockProductDeleter ¶
type MockProductDeleter struct {
// contains filtered or unexported fields
}
MockProductDeleter is a mock of ProductDeleter interface.
func NewMockProductDeleter ¶
func NewMockProductDeleter(ctrl *gomock.Controller) *MockProductDeleter
NewMockProductDeleter creates a new mock instance.
func (*MockProductDeleter) Delete ¶
func (m *MockProductDeleter) Delete(ctx context.Context, id string) error
Delete mocks base method.
func (*MockProductDeleter) EXPECT ¶
func (m *MockProductDeleter) EXPECT() *MockProductDeleterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockProductDeleterMockRecorder ¶
type MockProductDeleterMockRecorder struct {
// contains filtered or unexported fields
}
MockProductDeleterMockRecorder is the mock recorder for MockProductDeleter.
func (*MockProductDeleterMockRecorder) Delete ¶
func (mr *MockProductDeleterMockRecorder) Delete(ctx, id interface{}) *gomock.Call
Delete indicates an expected call of Delete.
type MockProductFormValidator ¶
type MockProductFormValidator struct {
// contains filtered or unexported fields
}
MockProductFormValidator is a mock of ProductFormValidator interface.
func NewMockProductFormValidator ¶
func NewMockProductFormValidator(ctrl *gomock.Controller) *MockProductFormValidator
NewMockProductFormValidator creates a new mock instance.
func (*MockProductFormValidator) EXPECT ¶
func (m *MockProductFormValidator) EXPECT() *MockProductFormValidatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProductFormValidator) Validate ¶
func (m *MockProductFormValidator) Validate(ctx context.Context, form usecase.ProductForm) error
Validate mocks base method.
type MockProductFormValidatorMockRecorder ¶
type MockProductFormValidatorMockRecorder struct {
// contains filtered or unexported fields
}
MockProductFormValidatorMockRecorder is the mock recorder for MockProductFormValidator.
func (*MockProductFormValidatorMockRecorder) Validate ¶
func (mr *MockProductFormValidatorMockRecorder) Validate(ctx, form interface{}) *gomock.Call
Validate indicates an expected call of Validate.
type MockProductGetter ¶
type MockProductGetter struct {
// contains filtered or unexported fields
}
MockProductGetter is a mock of ProductGetter interface.
func NewMockProductGetter ¶
func NewMockProductGetter(ctrl *gomock.Controller) *MockProductGetter
NewMockProductGetter creates a new mock instance.
func (*MockProductGetter) EXPECT ¶
func (m *MockProductGetter) EXPECT() *MockProductGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockProductGetterMockRecorder ¶
type MockProductGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockProductGetterMockRecorder is the mock recorder for MockProductGetter.
func (*MockProductGetterMockRecorder) Get ¶
func (mr *MockProductGetterMockRecorder) Get(ctx, id interface{}) *gomock.Call
Get indicates an expected call of Get.
type MockProductLister ¶
type MockProductLister struct {
// contains filtered or unexported fields
}
MockProductLister is a mock of ProductLister interface.
func NewMockProductLister ¶
func NewMockProductLister(ctrl *gomock.Controller) *MockProductLister
NewMockProductLister creates a new mock instance.
func (*MockProductLister) EXPECT ¶
func (m *MockProductLister) EXPECT() *MockProductListerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProductLister) List ¶
func (m *MockProductLister) List(ctx context.Context, limit, offset int) (usecase.ProductList, error)
List mocks base method.
type MockProductListerMockRecorder ¶
type MockProductListerMockRecorder struct {
// contains filtered or unexported fields
}
MockProductListerMockRecorder is the mock recorder for MockProductLister.
func (*MockProductListerMockRecorder) List ¶
func (mr *MockProductListerMockRecorder) List(ctx, limit, offset interface{}) *gomock.Call
List indicates an expected call of List.
type MockProductSellerChecker ¶
type MockProductSellerChecker struct {
// contains filtered or unexported fields
}
MockProductSellerChecker is a mock of ProductSellerChecker interface.
func NewMockProductSellerChecker ¶
func NewMockProductSellerChecker(ctrl *gomock.Controller) *MockProductSellerChecker
NewMockProductSellerChecker creates a new mock instance.
func (*MockProductSellerChecker) CheckSeller ¶
func (m *MockProductSellerChecker) CheckSeller(ctx context.Context, userId, id string) error
CheckSeller mocks base method.
func (*MockProductSellerChecker) EXPECT ¶
func (m *MockProductSellerChecker) EXPECT() *MockProductSellerCheckerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockProductSellerCheckerMockRecorder ¶
type MockProductSellerCheckerMockRecorder struct {
// contains filtered or unexported fields
}
MockProductSellerCheckerMockRecorder is the mock recorder for MockProductSellerChecker.
func (*MockProductSellerCheckerMockRecorder) CheckSeller ¶
func (mr *MockProductSellerCheckerMockRecorder) CheckSeller(ctx, userId, id interface{}) *gomock.Call
CheckSeller indicates an expected call of CheckSeller.
type MockProductUpdater ¶
type MockProductUpdater struct {
// contains filtered or unexported fields
}
MockProductUpdater is a mock of ProductUpdater interface.
func NewMockProductUpdater ¶
func NewMockProductUpdater(ctrl *gomock.Controller) *MockProductUpdater
NewMockProductUpdater creates a new mock instance.
func (*MockProductUpdater) EXPECT ¶
func (m *MockProductUpdater) EXPECT() *MockProductUpdaterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockProductUpdaterMockRecorder ¶
type MockProductUpdaterMockRecorder struct {
// contains filtered or unexported fields
}
MockProductUpdaterMockRecorder is the mock recorder for MockProductUpdater.
func (*MockProductUpdaterMockRecorder) Update ¶
func (mr *MockProductUpdaterMockRecorder) Update(ctx, id, form interface{}) *gomock.Call
Update indicates an expected call of Update.