1
1
mirror of https://github.com/wader/fq.git synced 2024-11-26 21:55:57 +03:00
fq/format/fit
2024-02-12 16:31:27 +01: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 fit: Skip array fields on pre read messages 2024-02-12 16:31:27 +01: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