Documentation ¶
Overview ¶
Package location is a generated GoMock package.
Package location is a generated GoMock package.
Index ¶
- type MockLocationRepositoryInterface
- func (m *MockLocationRepositoryInterface) CreateLocation(arg0 *models.Location) (*models.Location, error)
- func (m *MockLocationRepositoryInterface) EXPECT() *MockLocationRepositoryInterfaceMockRecorder
- func (m *MockLocationRepositoryInterface) GetAllActiveLocations(arg0 *pagination.Pagination) (*[]models.Location, error)
- func (m *MockLocationRepositoryInterface) GetLocationByID(arg0 uuid.UUID) (*models.Location, error)
- type MockLocationRepositoryInterfaceMockRecorder
- func (mr *MockLocationRepositoryInterfaceMockRecorder) CreateLocation(arg0 interface{}) *gomock.Call
- func (mr *MockLocationRepositoryInterfaceMockRecorder) GetAllActiveLocations(arg0 interface{}) *gomock.Call
- func (mr *MockLocationRepositoryInterfaceMockRecorder) GetLocationByID(arg0 interface{}) *gomock.Call
- type MockLocationServiceInterface
- func (m *MockLocationServiceInterface) CreateLocation(arg0 *models.Location) (*models.Location, error)
- func (m *MockLocationServiceInterface) EXPECT() *MockLocationServiceInterfaceMockRecorder
- func (m *MockLocationServiceInterface) GetAllActiveLocations(arg0 *pagination.Pagination) (*[]models.Location, error)
- type MockLocationServiceInterfaceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLocationRepositoryInterface ¶
type MockLocationRepositoryInterface struct {
// contains filtered or unexported fields
}
MockLocationRepositoryInterface is a mock of LocationRepositoryInterface interface.
func NewMockLocationRepositoryInterface ¶
func NewMockLocationRepositoryInterface(ctrl *gomock.Controller) *MockLocationRepositoryInterface
NewMockLocationRepositoryInterface creates a new mock instance.
func (*MockLocationRepositoryInterface) CreateLocation ¶
func (m *MockLocationRepositoryInterface) CreateLocation(arg0 *models.Location) (*models.Location, error)
CreateLocation mocks base method.
func (*MockLocationRepositoryInterface) EXPECT ¶
func (m *MockLocationRepositoryInterface) EXPECT() *MockLocationRepositoryInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLocationRepositoryInterface) GetAllActiveLocations ¶
func (m *MockLocationRepositoryInterface) GetAllActiveLocations(arg0 *pagination.Pagination) (*[]models.Location, error)
GetAllActiveLocations mocks base method.
func (*MockLocationRepositoryInterface) GetLocationByID ¶
GetLocationByID mocks base method.
type MockLocationRepositoryInterfaceMockRecorder ¶
type MockLocationRepositoryInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockLocationRepositoryInterfaceMockRecorder is the mock recorder for MockLocationRepositoryInterface.
func (*MockLocationRepositoryInterfaceMockRecorder) CreateLocation ¶
func (mr *MockLocationRepositoryInterfaceMockRecorder) CreateLocation(arg0 interface{}) *gomock.Call
CreateLocation indicates an expected call of CreateLocation.
func (*MockLocationRepositoryInterfaceMockRecorder) GetAllActiveLocations ¶
func (mr *MockLocationRepositoryInterfaceMockRecorder) GetAllActiveLocations(arg0 interface{}) *gomock.Call
GetAllActiveLocations indicates an expected call of GetAllActiveLocations.
func (*MockLocationRepositoryInterfaceMockRecorder) GetLocationByID ¶
func (mr *MockLocationRepositoryInterfaceMockRecorder) GetLocationByID(arg0 interface{}) *gomock.Call
GetLocationByID indicates an expected call of GetLocationByID.
type MockLocationServiceInterface ¶
type MockLocationServiceInterface struct {
// contains filtered or unexported fields
}
MockLocationServiceInterface is a mock of LocationServiceInterface interface.
func NewMockLocationServiceInterface ¶
func NewMockLocationServiceInterface(ctrl *gomock.Controller) *MockLocationServiceInterface
NewMockLocationServiceInterface creates a new mock instance.
func (*MockLocationServiceInterface) CreateLocation ¶
func (m *MockLocationServiceInterface) CreateLocation(arg0 *models.Location) (*models.Location, error)
CreateLocation mocks base method.
func (*MockLocationServiceInterface) EXPECT ¶
func (m *MockLocationServiceInterface) EXPECT() *MockLocationServiceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLocationServiceInterface) GetAllActiveLocations ¶
func (m *MockLocationServiceInterface) GetAllActiveLocations(arg0 *pagination.Pagination) (*[]models.Location, error)
GetAllActiveLocations mocks base method.
type MockLocationServiceInterfaceMockRecorder ¶
type MockLocationServiceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockLocationServiceInterfaceMockRecorder is the mock recorder for MockLocationServiceInterface.
func (*MockLocationServiceInterfaceMockRecorder) CreateLocation ¶
func (mr *MockLocationServiceInterfaceMockRecorder) CreateLocation(arg0 interface{}) *gomock.Call
CreateLocation indicates an expected call of CreateLocation.
func (*MockLocationServiceInterfaceMockRecorder) GetAllActiveLocations ¶
func (mr *MockLocationServiceInterfaceMockRecorder) GetAllActiveLocations(arg0 interface{}) *gomock.Call
GetAllActiveLocations indicates an expected call of GetAllActiveLocations.