location

package
v0.0.0-...-4cd3371 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package location is a generated GoMock package.

Package location is a generated GoMock package.

Index

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

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

func (m *MockLocationRepositoryInterface) GetLocationByID(arg0 uuid.UUID) (*models.Location, error)

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

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.

Jump to

Keyboard shortcuts

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