aboutsummaryrefslogtreecommitdiff
path: root/strava/sync.go
diff options
context:
space:
mode:
Diffstat (limited to 'strava/sync.go')
-rw-r--r--strava/sync.go3
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])
}