mocks

package
v0.1.0-0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IClient

type IClient struct {
	mock.Mock
}

IClient is an autogenerated mock type for the IClient type

func NewIClient

func NewIClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *IClient

NewIClient creates a new instance of IClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*IClient) Autocomplete

func (_m *IClient) Autocomplete(ctx context.Context, params *geoplaces.AutocompleteInput, optFns ...func(*geoplaces.Options)) (*geoplaces.AutocompleteOutput, error)

Autocomplete provides a mock function with given fields: ctx, params, optFns

func (*IClient) Geocode

func (_m *IClient) Geocode(ctx context.Context, params *geoplaces.GeocodeInput, optFns ...func(*geoplaces.Options)) (*geoplaces.GeocodeOutput, error)

Geocode provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetPlace

func (_m *IClient) GetPlace(ctx context.Context, params *geoplaces.GetPlaceInput, optFns ...func(*geoplaces.Options)) (*geoplaces.GetPlaceOutput, error)

GetPlace provides a mock function with given fields: ctx, params, optFns

func (*IClient) Options

func (_m *IClient) Options() geoplaces.Options

Options provides a mock function with given fields:

func (*IClient) ReverseGeocode

func (_m *IClient) ReverseGeocode(ctx context.Context, params *geoplaces.ReverseGeocodeInput, optFns ...func(*geoplaces.Options)) (*geoplaces.ReverseGeocodeOutput, error)

ReverseGeocode provides a mock function with given fields: ctx, params, optFns

func (*IClient) SearchNearby

func (_m *IClient) SearchNearby(ctx context.Context, params *geoplaces.SearchNearbyInput, optFns ...func(*geoplaces.Options)) (*geoplaces.SearchNearbyOutput, error)

SearchNearby provides a mock function with given fields: ctx, params, optFns

func (*IClient) SearchText

func (_m *IClient) SearchText(ctx context.Context, params *geoplaces.SearchTextInput, optFns ...func(*geoplaces.Options)) (*geoplaces.SearchTextOutput, error)

SearchText provides a mock function with given fields: ctx, params, optFns

func (*IClient) Suggest

func (_m *IClient) Suggest(ctx context.Context, params *geoplaces.SuggestInput, optFns ...func(*geoplaces.Options)) (*geoplaces.SuggestOutput, error)

Suggest provides a mock function with given fields: ctx, params, optFns

Jump to

Keyboard shortcuts

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