Versions in this module Expand all Collapse all v0 v0.0.5 Apr 27, 2023 v0.0.4 May 19, 2021 v0.0.3 Mar 31, 2021 Changes in this version + func New(db *gorm.DB) provider.Provider + type ActivitySummary struct + ActiveEnergyBurned float64 + ActiveEnergyBurnedGoal int + ActiveEnergyBurnedUnit string + AppleExerciseTime int + AppleExerciseTimeGoal int + AppleMoveTime int + AppleMoveTimeGoal int + AppleStandHours int + AppleStandHoursGoal int + Date types.DateTime + func (ActivitySummary) TableName() string + func (as ActivitySummary) Conditions() map[string]interface{} + type BeatsPerMinute struct + BPM int + EntryID uint + Time string + func (BeatsPerMinute) TableName() string + func (bpm BeatsPerMinute) Conditions() map[string]interface{} + type DataExport struct + ExportDate types.DateTime + Locale string + Me MeRecord + Workouts []*Workout + func (DataExport) TableName() string + func (d DataExport) Conditions() map[string]interface{} + type Device struct + DeviceModel string + Hardware string + Manufacturer string + Name string + Software string + func (Device) TableName() string + func (d *Device) UnmarshalText(b []byte) error + func (d Device) Conditions() map[string]interface{} + type Entry struct + BeatsPerMinutes []BeatsPerMinute + CreationDate types.DateTime + Device *Device + DeviceID *int + EndDate types.DateTime + MetadataEntries []EntryMetadataItem + SourceName string + SourceVersion string + StartDate types.DateTime + Type string + Unit string + Value string + func (Entry) TableName() string + func (e *Entry) UnmarshalXML(decoder *xml.Decoder, start xml.StartElement) error + func (e Entry) Conditions() map[string]interface{} + type EntryMetadataItem struct + EntryID uint + Key string + Value string + func (EntryMetadataItem) TableName() string + func (m EntryMetadataItem) Conditions() map[string]interface{} + type MeRecord struct + BiologicalSex string + BloodType string + CardioFitnessMedicationsUse string + DataExportID uint + DateOfBirth types.DateTime + FitzpatrickSkinType string + func (MeRecord) TableName() string + func (m MeRecord) Conditions() map[string]interface{} + type Workout struct + ActivityType string + CreationDate types.DateTime + Device *Device + DeviceID *int + Duration float64 + DurationUnit string + EndDate types.DateTime + Events []WorkoutEvent + MetadataEntries []WorkoutMetadataItem + Route *WorkoutRoute + SourceName string + SourceVersion string + StartDate types.DateTime + TotalDistance float64 + TotalDistanceUnit string + TotalEnergyBurned float64 + TotalEnergyBurnedUnit string + func (Workout) TableName() string + func (w Workout) Conditions() map[string]interface{} + type WorkoutEvent struct + Date types.DateTime + Duration float64 + DurationUnit string + Type string + WorkoutID uint + func (WorkoutEvent) TableName() string + func (e WorkoutEvent) Conditions() map[string]interface{} + type WorkoutMetadataItem struct + Key string + Value string + WorkoutID uint + func (WorkoutMetadataItem) TableName() string + func (m WorkoutMetadataItem) Conditions() map[string]interface{} + type WorkoutRoute struct + CreationDate types.DateTime + EndDate types.DateTime + FilePath string + MetadataEntries []WorkoutRouteMetadataItem + SourceName string + SourceVersion string + StartDate types.DateTime + Time types.DateTime + TrackName string + TrackPoints []WorkoutRouteTrackPoint + WorkoutID uint + func (WorkoutRoute) TableName() string + func (wr *WorkoutRoute) UnmarshalXML(decoder *xml.Decoder, start xml.StartElement) error + func (wr WorkoutRoute) Conditions() map[string]interface{} + type WorkoutRouteGPX WorkoutRoute + func (wr *WorkoutRouteGPX) UnmarshalXML(decoder *xml.Decoder, start xml.StartElement) error + type WorkoutRouteMetadataItem struct + Key string + Value string + WorkoutRouteID uint + func (WorkoutRouteMetadataItem) TableName() string + func (m WorkoutRouteMetadataItem) Conditions() map[string]interface{} + type WorkoutRouteTrackPoint struct + Ele float64 + Lat float64 + Lon float64 + Time types.DateTime + WorkoutRouteID uint + func (WorkoutRouteTrackPoint) TableName() string + func (tp WorkoutRouteTrackPoint) Conditions() map[string]interface{} + type WorkoutRouteTrackPointExtensions struct + Course float64 + HAcc float64 + Speed float64 + VAcc float64