include addresses for sanity testing

This commit is contained in:
Bel LaPointe
2026-03-08 20:46:50 -06:00
parent e8783c982d
commit e8111a50d7

View File

@@ -38,6 +38,7 @@ func Run(ctx context.Context) error {
Name string Name string
Lat float64 Lat float64
Lng float64 Lng float64
Address string
} }
results := []Result{} results := []Result{}
var nextToken string var nextToken string
@@ -58,6 +59,7 @@ func Run(ctx context.Context) error {
Name: result.Name, Name: result.Name,
Lat: result.Geometry.Location.Lat, Lat: result.Geometry.Location.Lat,
Lng: result.Geometry.Location.Lng, Lng: result.Geometry.Location.Lng,
Address: result.FormattedAddress,
}) })
} }
log.Printf("%d...", len(resp.Results)) log.Printf("%d...", len(resp.Results))