-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fit: Added support for "invalid" value checking.
Added support for array values. Added documentation and tests.
- Loading branch information
Showing
18 changed files
with
141,174 additions
and
1,800 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
### 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. Edit `messages_generated.go` and remove the incorrect "Scale" from line ~461 | ||
8. Correct spelling of farenheit->fahrenheit and bondary->boundary to please Go linter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.