usecasemock

package
v0.0.0-...-b784633 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2023 License: MIT Imports: 4 Imported by: 0

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

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

AuthedCreate mocks base method.

func (*MockProductAuthedCreator) EXPECT

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

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

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

Create mocks base method.

func (*MockProductCreator) EXPECT

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

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockProductFormValidator) Validate

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockProductGetter) Get

Get mocks base method.

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

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

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockProductUpdater) Update

Update mocks base method.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL