From e8111a50d7c61eb8ee26359f1ebad0c8da454466 Mon Sep 17 00:00:00 2001 From: Bel LaPointe <153096461+breel-render@users.noreply.github.com> Date: Sun, 8 Mar 2026 20:46:50 -0600 Subject: [PATCH] include addresses for sanity testing --- cmd/main.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/cmd/main.go b/cmd/main.go index fbbe1d0..4f539b9 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -35,9 +35,10 @@ func Run(ctx context.Context) error { origin := resp.Results[0].Geometry.Location type Result struct { - Name string - Lat float64 - Lng float64 + Name string + Lat float64 + Lng float64 + Address string } results := []Result{} var nextToken string @@ -55,9 +56,10 @@ func Run(ctx context.Context) error { nextToken = resp.NextPageToken for _, result := range resp.Results { results = append(results, Result{ - Name: result.Name, - Lat: result.Geometry.Location.Lat, - Lng: result.Geometry.Location.Lng, + Name: result.Name, + Lat: result.Geometry.Location.Lat, + Lng: result.Geometry.Location.Lng, + Address: result.FormattedAddress, }) } log.Printf("%d...", len(resp.Results))