diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-27 19:03:34 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-27 19:03:34 +0200 |
| commit | d7b93325d4f70eeab369fa8a3c4cce9f0c4e0081 (patch) | |
| tree | 76a913248fa04325e8e85f34df0cd03654e1ca76 /web/server.go | |
| parent | 558f755f5746a4ee819de87579951b7533688e5d (diff) | |
Add dual GPX/FIT exporter and backfill for rides
Phase 1 writes both .gpx and .fit on Strava import, adds fit_path
column, renames storage.gpx_dir to storage.rides_dir, and backfills
missing FIT files from existing GPX without breaking CLI progress.
FIT files are gitignored.
Diffstat (limited to 'web/server.go')
| -rw-r--r-- | web/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/server.go b/web/server.go index 06b4ace..bde45ca 100644 --- a/web/server.go +++ b/web/server.go @@ -29,7 +29,7 @@ type Server struct { type syncClient interface { List(from, to time.Time) ([]strava.Activity, error) - Get(id int64) (strava.Activity, []byte, error) + Get(id int64) (strava.Activity, []byte, []byte, error) } func NewServer(db *sql.DB, configPath string) *Server { |
