aboutsummaryrefslogtreecommitdiff
path: root/strava/sync.go
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-08-25 11:24:51 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-08-25 11:24:51 +0200
commitff3cd6248f2b78dc76f1ce8cc2337907188fd401 (patch)
tree59cb08531d7a7087a0a71c2306ce73330527c8d4 /strava/sync.go
parent9c2337b50a52ee95011028f6193e0c56aa1fc9d4 (diff)
Expose ride data as components and make algorithms consume only the slices they read
Ride now exposes its columns as component getters (Distances, Elevations, Coords, Timestamps, and the optional Powers, Cadences, HeartRates) with the coords field unexported. difficultyScore, movingTime, Slope and the climb detection internals are pure functions over the specific slices they use, and Climb carries only the component slices it needs instead of a whole Ride.
Diffstat (limited to 'strava/sync.go')
0 files changed, 0 insertions, 0 deletions