mirror of
https://github.com/sstent/go-garth.git
synced 2025-12-06 08:01:42 +00:00
chaned go mod name
This commit is contained in:
@@ -2,9 +2,9 @@ package garmin_test
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"go-garth/internal/api/client"
|
||||
"go-garth/internal/data"
|
||||
"go-garth/internal/testutils"
|
||||
"github.com/sstent/go-garth/internal/api/client"
|
||||
"github.com/sstent/go-garth/internal/data"
|
||||
"github.com/sstent/go-garth/internal/testutils"
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
|
||||
@@ -8,11 +8,11 @@ import (
|
||||
"path/filepath"
|
||||
"time"
|
||||
|
||||
internalClient "go-garth/internal/api/client"
|
||||
"go-garth/internal/errors"
|
||||
types "go-garth/internal/models/types"
|
||||
shared "go-garth/shared/interfaces"
|
||||
models "go-garth/shared/models"
|
||||
internalClient "github.com/sstent/go-garth/internal/api/client"
|
||||
"github.com/sstent/go-garth/internal/errors"
|
||||
types "github.com/sstent/go-garth/internal/models/types"
|
||||
shared "github.com/sstent/go-garth/shared/interfaces"
|
||||
models "github.com/sstent/go-garth/shared/models"
|
||||
)
|
||||
|
||||
// Client is the main Garmin Connect client type
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
internalClient "go-garth/internal/api/client"
|
||||
"go-garth/internal/models/types"
|
||||
internalClient "github.com/sstent/go-garth/internal/api/client"
|
||||
"github.com/sstent/go-garth/internal/models/types"
|
||||
)
|
||||
|
||||
func (c *Client) GetDailyHRVData(date time.Time) (*types.DailyHRVData, error) {
|
||||
|
||||
@@ -4,9 +4,9 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"go-garth/internal/api/client"
|
||||
"go-garth/internal/data"
|
||||
"go-garth/internal/stats"
|
||||
"github.com/sstent/go-garth/internal/api/client"
|
||||
"github.com/sstent/go-garth/internal/data"
|
||||
"github.com/sstent/go-garth/internal/stats"
|
||||
)
|
||||
|
||||
func TestBodyBatteryIntegration(t *testing.T) {
|
||||
|
||||
@@ -3,7 +3,7 @@ package garmin
|
||||
import (
|
||||
"time"
|
||||
|
||||
"go-garth/internal/stats"
|
||||
"github.com/sstent/go-garth/internal/stats"
|
||||
)
|
||||
|
||||
// Stats is an interface for stats data types.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package garmin
|
||||
|
||||
import types "go-garth/internal/models/types"
|
||||
import types "github.com/sstent/go-garth/internal/models/types"
|
||||
|
||||
// GarminTime represents Garmin's timestamp format with custom JSON parsing
|
||||
type GarminTime = types.GarminTime
|
||||
|
||||
Reference in New Issue
Block a user