mirror of
https://github.com/sstent/go-garth.git
synced 2026-01-26 09:03:00 +00:00
sync - build workin
This commit is contained in:
@@ -6,14 +6,14 @@ import (
|
||||
"time"
|
||||
|
||||
types "go-garth/internal/models/types"
|
||||
"go-garth/internal/users"
|
||||
"go-garth/shared/models"
|
||||
)
|
||||
|
||||
// APIClient defines the interface for making API calls that data packages need.
|
||||
type APIClient interface {
|
||||
ConnectAPI(path string, method string, params url.Values, body io.Reader) ([]byte, error)
|
||||
GetUsername() string
|
||||
GetUserSettings() (*users.UserSettings, error)
|
||||
GetUserSettings() (*models.UserSettings, error)
|
||||
GetUserProfile() (*types.UserProfile, error)
|
||||
GetWellnessData(startDate, endDate time.Time) ([]types.WellnessData, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user