mocks

package
v0.0.0-...-3122bcc Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: delivery/city_handler.go

Generated by this command:

mockgen -source=delivery/city_handler.go -destination=mocks/city_handler.go -package=mocks

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockICityService

type MockICityService struct {
	// contains filtered or unexported fields
}

MockICityService is a mock of ICityService interface.

func NewMockICityService

func NewMockICityService(ctrl *gomock.Controller) *MockICityService

NewMockICityService creates a new mock instance.

func (*MockICityService) EXPECT

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

func (*MockICityService) GetFullCities

func (m *MockICityService) GetFullCities(ctx context.Context) ([]*models.City, error)

GetFullCities mocks base method.

func (*MockICityService) SearchCity

func (m *MockICityService) SearchCity(ctx context.Context, searchInput string) ([]*models.City, error)

SearchCity mocks base method.

type MockICityServiceMockRecorder

type MockICityServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockICityServiceMockRecorder is the mock recorder for MockICityService.

func (*MockICityServiceMockRecorder) GetFullCities

func (mr *MockICityServiceMockRecorder) GetFullCities(ctx any) *gomock.Call

GetFullCities indicates an expected call of GetFullCities.

func (*MockICityServiceMockRecorder) SearchCity

func (mr *MockICityServiceMockRecorder) SearchCity(ctx, searchInput any) *gomock.Call

SearchCity indicates an expected call of SearchCity.

Jump to

Keyboard shortcuts

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