gmaps

package
v0.0.0-...-5b11cf1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MapsApiClient

type MapsApiClient interface {
	Autocomplete(context.Context, string) ([]maps.AutocompletePrediction, error)
	TextSearch(context.Context, string) ([]maps.PlacesSearchResult, error)
	Details(context.Context, string) (*maps.PlaceDetailsResult, error)
	ReverseGeocode(context.Context, float64, float64) ([]maps.GeocodingResult, error)
}

func NewMapsClient

func NewMapsClient(key string) (MapsApiClient, error)

Jump to

Keyboard shortcuts

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