Fix references to structured geocode request
This commit is contained in:
parent
cc95c38ab5
commit
7a0fe04768
2 changed files with 3 additions and 3 deletions
|
|
@ -15,11 +15,11 @@ func main() {
|
|||
}
|
||||
client := stadia.NewStadiaMaps(key)
|
||||
requests := make([]stadia.BulkGeocodeQuery, 0)
|
||||
requests = append(requests, stadia.StructuredGeocodeRequest{
|
||||
requests = append(requests, stadia.RequestGeocodeStructured{
|
||||
Address: strPtr("12932 Ave 404"),
|
||||
PostalCode: strPtr("93615"),
|
||||
})
|
||||
requests = append(requests, stadia.StructuredGeocodeRequest{
|
||||
requests = append(requests, stadia.RequestGeocodeStructured{
|
||||
Address: strPtr("1187 N Arno Rd"),
|
||||
PostalCode: strPtr("93618"),
|
||||
})
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ func main() {
|
|||
|
||||
client := stadia.NewStadiaMaps(key)
|
||||
ctx := context.Background()
|
||||
req := stadia.StructuredGeocodeRequest{
|
||||
req := stadia.RequestGeocodeStructured{
|
||||
Address: address,
|
||||
PostalCode: postalCode,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue