7 Commits

Author SHA1 Message Date
1b3fb04dcd reworked api interfaces 2025-09-22 16:41:49 -07:00
f2256a9cfe fixed timecode issue 2025-09-22 10:53:41 -07:00
2f83ed2cf2 chaned go mod name 2025-09-21 18:56:33 -07:00
626c473b01 sync - build broken 2025-09-20 15:21:49 -07:00
c1993ba022 fix: resolve build errors and implement missing health data types
- Fix various build errors in the CLI application.
- Implement missing health data types (VO2 Max, Heart Rate Zones).
- Corrected `tablewriter` usage from `SetHeader` to `Header`.
- Removed unused imports and fixed syntax errors.
2025-09-19 05:19:02 -07:00
2870d23fed feat: Implement Phase 1B: Enhanced CLI Commands 2025-09-18 14:02:37 -07:00
2fdfbea34e feat(refactor): Implement 1A.1 Package Structure Refactoring
This commit implements the package structure refactoring as outlined in phase1.md (Task 1A.1).

Key changes include:
- Reorganized packages into `pkg/garmin` for public API and `internal/` for internal implementations.
- Updated all import paths to reflect the new structure.
- Consolidated types and client logic into their respective new packages.
- Updated `cmd/garth/main.go` to use the new public API.
- Fixed various compilation and test issues encountered during the refactoring process.
- Converted `internal/api/client/auth_test.go` to a functional test.

This establishes a solid foundation for future enhancements and improves maintainability.
2025-09-18 13:13:39 -07:00