From 1e8efcdb7e7747072e83bda3d4a7f0b3810a439d Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Thu, 27 Aug 2026 08:05:58 +0200 Subject: Lint & fix --- strava/sync.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'strava') diff --git a/strava/sync.go b/strava/sync.go index a492a47..b8fa428 100644 --- a/strava/sync.go +++ b/strava/sync.go @@ -147,7 +147,8 @@ func activityGPX(activity Activity, streams activityStreams) ([]byte, error) { for i := range streams.LatLng { point := gpx.GPXPoint{ Latitude: streams.LatLng[i][0], - Longitude: streams.LatLng[i][1]} + Longitude: streams.LatLng[i][1], + } if i < len(streams.Altitude) { point.Elevation = *gpx.NewNullableFloat64(streams.Altitude[i]) } -- cgit v1.3