Documentation ¶
Overview ¶
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 MockAdvert ¶
type MockAdvert struct {
// contains filtered or unexported fields
}
MockAdvert is a mock of Advert interface.
func NewMockAdvert ¶
func NewMockAdvert(ctrl *gomock.Controller) *MockAdvert
NewMockAdvert creates a new mock instance.
func (*MockAdvert) Create ¶
func (m *MockAdvert) Create(arg0 *model.DetailedAdvert) (int, error)
Create mocks base method.
func (*MockAdvert) EXPECT ¶
func (m *MockAdvert) EXPECT() *MockAdvertMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAdvert) GetById ¶
func (m *MockAdvert) GetById(arg0 int, arg1 bool) (*model.DetailedAdvert, error)
GetById mocks base method.
type MockAdvertMockRecorder ¶
type MockAdvertMockRecorder struct {
// contains filtered or unexported fields
}
MockAdvertMockRecorder is the mock recorder for MockAdvert.
func (*MockAdvertMockRecorder) Create ¶
func (mr *MockAdvertMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockAdvertMockRecorder) GetAll ¶
func (mr *MockAdvertMockRecorder) GetAll(arg0, arg1 interface{}) *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockAdvertMockRecorder) GetById ¶
func (mr *MockAdvertMockRecorder) GetById(arg0, arg1 interface{}) *gomock.Call
GetById indicates an expected call of GetById.
Click to show internal directories.
Click to hide internal directories.