diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-27 08:05:58 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-27 08:05:58 +0200 |
| commit | 1e8efcdb7e7747072e83bda3d4a7f0b3810a439d (patch) | |
| tree | 3f60ac83771f6f899bd4b2313af3ae8bc6b68ae7 /strava/sync.go | |
| parent | e73b7a9ccb4bc61e54d1fdc61b5954879c637d00 (diff) | |
Lint & fix
Diffstat (limited to 'strava/sync.go')
| -rw-r--r-- | strava/sync.go | 3 |
1 files changed, 2 insertions, 1 deletions
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]) } |
