mirror of
https://github.com/sstent/go-garth.git
synced 2026-01-25 16:42:28 +00:00
porting - part2 wk2 done
This commit is contained in:
30
garth/__init__.go
Normal file
30
garth/__init__.go
Normal file
@@ -0,0 +1,30 @@
|
||||
package garth
|
||||
|
||||
import (
|
||||
"garmin-connect/garth/client"
|
||||
"garmin-connect/garth/data"
|
||||
"garmin-connect/garth/stats"
|
||||
)
|
||||
|
||||
// Re-export main types for convenience
|
||||
type Client = client.Client
|
||||
|
||||
// Data types
|
||||
type BodyBatteryData = data.DailyBodyBatteryStress
|
||||
type HRVData = data.HRVData
|
||||
type SleepData = data.DailySleepDTO
|
||||
type WeightData = data.WeightData
|
||||
|
||||
// Stats types
|
||||
type DailySteps = stats.DailySteps
|
||||
type DailyStress = stats.DailyStress
|
||||
type DailyHRV = stats.DailyHRV
|
||||
type DailyHydration = stats.DailyHydration
|
||||
type DailyIntensityMinutes = stats.DailyIntensityMinutes
|
||||
type DailySleep = stats.DailySleep
|
||||
|
||||
// Main functions
|
||||
var (
|
||||
NewClient = client.NewClient
|
||||
Login = client.Login
|
||||
)
|
||||
Reference in New Issue
Block a user