Documentation ¶
Overview ¶
Package stores is a generated GoMock package.
Index ¶
- type MockShop
- func (m *MockShop) Create(ctx *gofr.Context, data models.Shop) ([]models.Shop, error)
- func (m *MockShop) Delete(ctx *gofr.Context, id string) error
- func (m *MockShop) EXPECT() *MockShopMockRecorder
- func (m *MockShop) Get(ctx *gofr.Context, filter models.Shop) []models.Shop
- func (m *MockShop) Update(ctx *gofr.Context, data models.Shop) ([]models.Shop, error)
- type MockShopMockRecorder
- type Shop
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockShop ¶
type MockShop struct {
// contains filtered or unexported fields
}
MockShop is a mock of Shop interface.
func NewMockShop ¶
func NewMockShop(ctrl *gomock.Controller) *MockShop
NewMockShop creates a new mock instance.
func (*MockShop) EXPECT ¶
func (m *MockShop) EXPECT() *MockShopMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockShopMockRecorder ¶
type MockShopMockRecorder struct {
// contains filtered or unexported fields
}
MockShopMockRecorder is the mock recorder for MockShop.
func (*MockShopMockRecorder) Create ¶
func (mr *MockShopMockRecorder) Create(ctx, data interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockShopMockRecorder) Delete ¶
func (mr *MockShopMockRecorder) Delete(ctx, id interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockShopMockRecorder) Get ¶
func (mr *MockShopMockRecorder) Get(ctx, filter interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockShopMockRecorder) Update ¶
func (mr *MockShopMockRecorder) Update(ctx, data interface{}) *gomock.Call
Update indicates an expected call of Update.
Click to show internal directories.
Click to hide internal directories.