chaned go mod name

This commit is contained in:
2025-09-21 18:56:33 -07:00
parent 9d1566cfdf
commit 2f83ed2cf2
41 changed files with 551 additions and 81 deletions

View File

@@ -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"
)

View File

@@ -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

View File

@@ -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) {

View File

@@ -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) {

View File

@@ -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.

View File

@@ -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