mocks

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeGeocoding

type FakeGeocoding struct {
	mock.Mock
}

func (*FakeGeocoding) CutCoordinates added in v1.3.28

func (f *FakeGeocoding) CutCoordinates(float float64, precision int) (float64, error)

func (*FakeGeocoding) Geocode

func (f *FakeGeocoding) Geocode(_ context.Context, _ *datalayer.ORM, address string, language geocoding.Language) (*geocoding.Address, error)

func (*FakeGeocoding) ReverseGeocode

func (f *FakeGeocoding) ReverseGeocode(
	_ context.Context,
	_ *datalayer.ORM,
	latLng *geocoding.LatLng,
	language geocoding.Language,
) (*geocoding.Address, error)

Jump to

Keyboard shortcuts

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