mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-11 18:44:26 +00:00
Commit from m3o/m3o action
This commit is contained in:
@@ -5,7 +5,6 @@ import (
|
||||
)
|
||||
|
||||
type Place interface {
|
||||
Autocomplete(*AutocompleteRequest) (*AutocompleteResponse, error)
|
||||
Nearby(*NearbyRequest) (*NearbyResponse, error)
|
||||
Search(*SearchRequest) (*SearchResponse, error)
|
||||
}
|
||||
@@ -22,14 +21,6 @@ type PlaceService struct {
|
||||
client *client.Client
|
||||
}
|
||||
|
||||
// Autocomplete queries (coming soon)
|
||||
func (t *PlaceService) Autocomplete(request *AutocompleteRequest) (*AutocompleteResponse, error) {
|
||||
|
||||
rsp := &AutocompleteResponse{}
|
||||
return rsp, t.client.Call("place", "Autocomplete", request, rsp)
|
||||
|
||||
}
|
||||
|
||||
// Find places nearby using a location
|
||||
func (t *PlaceService) Nearby(request *NearbyRequest) (*NearbyResponse, error) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user