Skip to content

Commit 338e041

Browse files
mikekonoclaude
andcommitted
Update imports from v2 to v3 to match module path
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 3ab7dc0 commit 338e041

File tree

9 files changed

+14
-14
lines changed

9 files changed

+14
-14
lines changed

integration_tests/catalog_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111
"github.com/stretchr/testify/assert"
1212
"github.com/stretchr/testify/require"
1313

14-
square "github.com/square/square-go-sdk/v2"
15-
"github.com/square/square-go-sdk/v2/catalog"
16-
"github.com/square/square-go-sdk/v2/core"
14+
square "github.com/square/square-go-sdk/v3"
15+
"github.com/square/square-go-sdk/v3/catalog"
16+
"github.com/square/square-go-sdk/v3/core"
1717
)
1818

1919
// Catalog API integration tests.

integration_tests/client_utils_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111
"github.com/google/uuid"
1212
"github.com/stretchr/testify/require"
1313

14-
square "github.com/square/square-go-sdk/v2"
15-
client "github.com/square/square-go-sdk/v2/client"
16-
option "github.com/square/square-go-sdk/v2/option"
14+
square "github.com/square/square-go-sdk/v3"
15+
client "github.com/square/square-go-sdk/v3/client"
16+
option "github.com/square/square-go-sdk/v3/option"
1717
)
1818

1919
// SourceID represents the payment source ID for the sandbox environment.

integration_tests/orders_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ import (
77
"fmt"
88
"testing"
99

10-
"github.com/square/square-go-sdk/v2/orders"
10+
"github.com/square/square-go-sdk/v3/orders"
1111

1212
"github.com/stretchr/testify/assert"
1313
"github.com/stretchr/testify/require"
1414

15-
square "github.com/square/square-go-sdk/v2"
15+
square "github.com/square/square-go-sdk/v3"
1616
)
1717

1818
// Orders API integration tests.

integration_tests/orders_utils_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
package integration
44

55
import (
6-
square "github.com/square/square-go-sdk/v2"
6+
square "github.com/square/square-go-sdk/v3"
77
)
88

99
// Simplified data structure for [square.OrderLineItem].

integration_tests/payments_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"context"
77
"testing"
88

9-
square "github.com/square/square-go-sdk/v2"
9+
square "github.com/square/square-go-sdk/v3"
1010
"github.com/stretchr/testify/assert"
1111
"github.com/stretchr/testify/require"
1212
)

integration_tests/payments_utils_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
package integration
44

55
import (
6-
square "github.com/square/square-go-sdk/v2"
6+
square "github.com/square/square-go-sdk/v3"
77
)
88

99
type TestPaymentRequest struct {

integration_tests/teams_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/stretchr/testify/assert"
1010
"github.com/stretchr/testify/require"
1111

12-
square "github.com/square/square-go-sdk/v2"
12+
square "github.com/square/square-go-sdk/v3"
1313
)
1414

1515
// Teams API integration tests.

webhooks/client/verify_signature.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"errors"
99
"hash"
1010

11-
v2 "github.com/square/square-go-sdk/v2"
11+
v2 "github.com/square/square-go-sdk/v3"
1212
)
1313

1414
// VerifySignature verifies and validates an event notification.

webhooks/client/verify_signature_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"testing"
66

7-
square "github.com/square/square-go-sdk/v2"
7+
square "github.com/square/square-go-sdk/v3"
88
"github.com/stretchr/testify/assert"
99
)
1010

0 commit comments

Comments
 (0)