mock_service

package
v0.0.0-...-023eac5 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: MIT Imports: 3 Imported by: 0

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) Delete

func (m *MockBooking) Delete(arg0 int) error

Delete 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) Create

func (m *MockRoom) Create(arg0 *model.Room) (int, error)

Create mocks base method.

func (*MockRoom) Delete

func (m *MockRoom) Delete(arg0 int) error

Delete mocks base method.

func (*MockRoom) EXPECT

func (m *MockRoom) EXPECT() *MockRoomMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRoom) GetAll

func (m *MockRoom) GetAll(arg0 string) ([]*model.Room, error)

GetAll mocks base method.

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.

Jump to

Keyboard shortcuts

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