Documentation ¶
Overview ¶
Package mock_service is a generated GoMock package.
Package mock_service is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBooking ¶
type MockBooking struct {
// contains filtered or unexported fields
}
MockBooking is a mock of Booking interface.
func NewMockBooking ¶
func NewMockBooking(ctrl *gomock.Controller) *MockBooking
NewMockBooking creates a new mock instance.
func (*MockBooking) Create ¶
func (m *MockBooking) Create(arg0 *model.Booking) (int, error)
Create mocks base method.
func (*MockBooking) EXPECT ¶
func (m *MockBooking) EXPECT() *MockBookingMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBooking) GetByRoomId ¶
func (m *MockBooking) GetByRoomId(arg0 int) ([]*model.Booking, error)
GetByRoomId mocks base method.
type MockBookingMockRecorder ¶
type MockBookingMockRecorder struct {
// contains filtered or unexported fields
}
MockBookingMockRecorder is the mock recorder for MockBooking.
func (*MockBookingMockRecorder) Create ¶
func (mr *MockBookingMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockBookingMockRecorder) Delete ¶
func (mr *MockBookingMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockBookingMockRecorder) GetByRoomId ¶
func (mr *MockBookingMockRecorder) GetByRoomId(arg0 interface{}) *gomock.Call
GetByRoomId indicates an expected call of GetByRoomId.
type MockRoom ¶
type MockRoom struct {
// contains filtered or unexported fields
}
MockRoom is a mock of Room interface.
func NewMockRoom ¶
func NewMockRoom(ctrl *gomock.Controller) *MockRoom
NewMockRoom creates a new mock instance.
func (*MockRoom) EXPECT ¶
func (m *MockRoom) EXPECT() *MockRoomMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRoomMockRecorder ¶
type MockRoomMockRecorder struct {
// contains filtered or unexported fields
}
MockRoomMockRecorder is the mock recorder for MockRoom.
func (*MockRoomMockRecorder) Create ¶
func (mr *MockRoomMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockRoomMockRecorder) Delete ¶
func (mr *MockRoomMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockRoomMockRecorder) GetAll ¶
func (mr *MockRoomMockRecorder) GetAll(arg0 interface{}) *gomock.Call
GetAll indicates an expected call of GetAll.