mock_service

package
v0.0.0-...-736631f Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: MIT Imports: 3 Imported by: 0

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

func (m *MockAdvert) GetAll(arg0 int, arg1 string) ([]*model.Advert, error)

GetAll mocks base method.

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.

Jump to

Keyboard shortcuts

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