1
1
mirror of https://github.com/wader/fq.git synced 2024-11-05 02:34:02 +03:00
fq/format/fit
Mattias Wadman bf7fa07c41 fq: Use go 1.20 and cleanup
Also rename *ex packages to *x
2024-04-01 19:14:10 +02:00
..
mappers fit: Formatted date/time description for timestamp fields 2024-02-11 00:43:00 +01:00
testdata Fixed subfield referencing fields below self in message 2024-02-12 15:28:42 +01:00
fit.go fq: Use go 1.20 and cleanup 2024-04-01 19:14:10 +02:00
fit.md fit: Formatted date/time description for timestamp fields 2024-02-11 00:43:00 +01:00
README.md fit: Added support for dynamic subfields 2024-02-10 01:09:40 +01:00

Generated files

  • format/fit/mappers/messages_generated.go
  • format/fit/mappers/types_generated.go

How to generate them if needed

  1. Download the Fit SDK from: https://developer.garmin.com/fit/download/
  2. Install NodeJS and NPM
  3. Go to the format/fit/testdata/generator folder.
  4. Run npm install if it's your first time
  5. Run node index.js t /PathToSDK/Profile.xlsx > ../../mappers/types_generated.go
  6. Run node index.js m /PathToSDK/Profile.xlsx > ../../mappers/messages_generated.go
  7. Correct formating and spelling of farenheit->fahrenheit and bondary->boundary in generated files to please Go linter