Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockFlatRepo
- func (m *MockFlatRepo) CreateFlat(ctx context.Context, flat *dto.DtoFlat) (*dto.DtoFlat, error)
- func (m *MockFlatRepo) EXPECT() *MockFlatRepoMockRecorder
- func (m *MockFlatRepo) GetFlatByHouseID(ctx context.Context, houseID int, userType string) ([]*dto.DtoFlat, error)
- func (m *MockFlatRepo) GetFlatByID(ctx context.Context, id int) (*dto.DtoFlat, error)
- func (m *MockFlatRepo) UpdateFlat(ctx context.Context, flat *dto.DtoFlat) (*dto.DtoFlat, error)
- type MockFlatRepoMockRecorder
- func (mr *MockFlatRepoMockRecorder) CreateFlat(ctx, flat any) *gomock.Call
- func (mr *MockFlatRepoMockRecorder) GetFlatByHouseID(ctx, houseID, userType any) *gomock.Call
- func (mr *MockFlatRepoMockRecorder) GetFlatByID(ctx, id any) *gomock.Call
- func (mr *MockFlatRepoMockRecorder) UpdateFlat(ctx, flat any) *gomock.Call
- type MockHouseFlatRepo
- type MockHouseFlatRepoMockRecorder
- type MockHouseRepo
- type MockHouseRepoMockRecorder
- type MockUserRepo
- type MockUserRepoMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFlatRepo ¶
type MockFlatRepo struct {
// contains filtered or unexported fields
}
MockFlatRepo is a mock of FlatRepo interface.
func NewMockFlatRepo ¶
func NewMockFlatRepo(ctrl *gomock.Controller) *MockFlatRepo
NewMockFlatRepo creates a new mock instance.
func (*MockFlatRepo) CreateFlat ¶
CreateFlat mocks base method.
func (*MockFlatRepo) EXPECT ¶
func (m *MockFlatRepo) EXPECT() *MockFlatRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFlatRepo) GetFlatByHouseID ¶
func (m *MockFlatRepo) GetFlatByHouseID(ctx context.Context, houseID int, userType string) ([]*dto.DtoFlat, error)
GetFlatByHouseID mocks base method.
func (*MockFlatRepo) GetFlatByID ¶
GetFlatByID mocks base method.
func (*MockFlatRepo) UpdateFlat ¶
UpdateFlat mocks base method.
type MockFlatRepoMockRecorder ¶
type MockFlatRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockFlatRepoMockRecorder is the mock recorder for MockFlatRepo.
func (*MockFlatRepoMockRecorder) CreateFlat ¶
func (mr *MockFlatRepoMockRecorder) CreateFlat(ctx, flat any) *gomock.Call
CreateFlat indicates an expected call of CreateFlat.
func (*MockFlatRepoMockRecorder) GetFlatByHouseID ¶
func (mr *MockFlatRepoMockRecorder) GetFlatByHouseID(ctx, houseID, userType any) *gomock.Call
GetFlatByHouseID indicates an expected call of GetFlatByHouseID.
func (*MockFlatRepoMockRecorder) GetFlatByID ¶
func (mr *MockFlatRepoMockRecorder) GetFlatByID(ctx, id any) *gomock.Call
GetFlatByID indicates an expected call of GetFlatByID.
func (*MockFlatRepoMockRecorder) UpdateFlat ¶
func (mr *MockFlatRepoMockRecorder) UpdateFlat(ctx, flat any) *gomock.Call
UpdateFlat indicates an expected call of UpdateFlat.
type MockHouseFlatRepo ¶
type MockHouseFlatRepo struct {
// contains filtered or unexported fields
}
MockHouseFlatRepo is a mock of HouseFlatRepo interface.
func NewMockHouseFlatRepo ¶
func NewMockHouseFlatRepo(ctrl *gomock.Controller) *MockHouseFlatRepo
NewMockHouseFlatRepo creates a new mock instance.
func (*MockHouseFlatRepo) EXPECT ¶
func (m *MockHouseFlatRepo) EXPECT() *MockHouseFlatRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockHouseFlatRepoMockRecorder ¶
type MockHouseFlatRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockHouseFlatRepoMockRecorder is the mock recorder for MockHouseFlatRepo.
func (*MockHouseFlatRepoMockRecorder) UpdateHouse ¶
func (mr *MockHouseFlatRepoMockRecorder) UpdateHouse(ctx, id, updAt any) *gomock.Call
UpdateHouse indicates an expected call of UpdateHouse.
type MockHouseRepo ¶
type MockHouseRepo struct {
// contains filtered or unexported fields
}
MockHouseRepo is a mock of HouseRepo interface.
func NewMockHouseRepo ¶
func NewMockHouseRepo(ctrl *gomock.Controller) *MockHouseRepo
NewMockHouseRepo creates a new mock instance.
func (*MockHouseRepo) CreateHouse ¶
CreateHouse mocks base method.
func (*MockHouseRepo) EXPECT ¶
func (m *MockHouseRepo) EXPECT() *MockHouseRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockHouseRepoMockRecorder ¶
type MockHouseRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockHouseRepoMockRecorder is the mock recorder for MockHouseRepo.
func (*MockHouseRepoMockRecorder) CreateHouse ¶
func (mr *MockHouseRepoMockRecorder) CreateHouse(ctx, house any) *gomock.Call
CreateHouse indicates an expected call of CreateHouse.
type MockUserRepo ¶
type MockUserRepo struct {
// contains filtered or unexported fields
}
MockUserRepo is a mock of UserRepo interface.
func NewMockUserRepo ¶
func NewMockUserRepo(ctrl *gomock.Controller) *MockUserRepo
NewMockUserRepo creates a new mock instance.
func (*MockUserRepo) CreateUser ¶
func (m *MockUserRepo) CreateUser(ctx context.Context, user repository.User) error
CreateUser mocks base method.
func (*MockUserRepo) EXPECT ¶
func (m *MockUserRepo) EXPECT() *MockUserRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserRepo) GetUser ¶
func (m *MockUserRepo) GetUser(ctx context.Context, email string) (repository.User, error)
GetUser mocks base method.
type MockUserRepoMockRecorder ¶
type MockUserRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockUserRepoMockRecorder is the mock recorder for MockUserRepo.
func (*MockUserRepoMockRecorder) CreateUser ¶
func (mr *MockUserRepoMockRecorder) CreateUser(ctx, user any) *gomock.Call
CreateUser indicates an expected call of CreateUser.