Skip to content

Commit 9724f55

Browse files
committedSep 6, 2023
Reorder imports according to convention
1 parent 4a6fcab commit 9724f55

File tree

11 files changed

+18
-7
lines changed

11 files changed

+18
-7
lines changed
 

‎access/client.go

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import (
2727
"context"
2828

2929
"github.com/onflow/cadence"
30+
3031
"github.com/onflow/flow-go-sdk"
3132
)
3233

‎access/http/mock_handler.go

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎account_test.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ import (
2323
"fmt"
2424
"testing"
2525

26-
"github.com/onflow/flow-go-sdk/crypto"
2726
"github.com/stretchr/testify/assert"
27+
28+
"github.com/onflow/flow-go-sdk/crypto"
2829
)
2930

3031
func generateKey() crypto.PrivateKey {

‎client/client.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@
2222
package client
2323

2424
import (
25+
"github.com/onflow/flow/protobuf/go/flow/access"
26+
2527
"github.com/onflow/flow-go-sdk"
2628
"github.com/onflow/flow-go-sdk/access/grpc"
27-
"github.com/onflow/flow/protobuf/go/flow/access"
2829
)
2930

3031
// New creates an gRPC client exposing all the common access APIs.

‎crypto/awskms/awskms.go

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import (
3131
"github.com/aws/aws-sdk-go-v2/aws"
3232
kms "github.com/aws/aws-sdk-go-v2/service/kms"
3333
"github.com/aws/aws-sdk-go-v2/service/kms/types"
34+
3435
"github.com/onflow/flow-go-sdk/crypto"
3536
)
3637

‎crypto/awskms/signer.go

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import (
2424

2525
kms "github.com/aws/aws-sdk-go-v2/service/kms"
2626
"github.com/aws/aws-sdk-go-v2/service/kms/types"
27+
2728
"github.com/onflow/flow-go-sdk/crypto"
2829
"github.com/onflow/flow-go-sdk/crypto/internal"
2930
)

‎crypto/cloudkms/signer.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@ import (
2424
"hash/crc32"
2525

2626
kms "cloud.google.com/go/kms/apiv1"
27-
"github.com/onflow/flow-go-sdk/crypto"
28-
"github.com/onflow/flow-go-sdk/crypto/internal"
2927
kmspb "google.golang.org/genproto/googleapis/cloud/kms/v1"
3028
"google.golang.org/protobuf/types/known/wrapperspb"
29+
30+
"github.com/onflow/flow-go-sdk/crypto"
31+
"github.com/onflow/flow-go-sdk/crypto/internal"
3132
)
3233

3334
var _ crypto.Signer = (*Signer)(nil)

‎crypto/crypto_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import (
3030
"github.com/stretchr/testify/require"
3131

3232
fgcrypto "github.com/onflow/crypto"
33+
3334
"github.com/onflow/flow-go-sdk/crypto"
3435
)
3536

‎event.go

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import (
2424

2525
"github.com/onflow/cadence"
2626
"github.com/onflow/crypto/hash"
27+
2728
"github.com/onflow/flow-go-sdk/crypto"
2829
)
2930

‎templates/accounts.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ import (
2828
"github.com/onflow/cadence/runtime"
2929
"github.com/onflow/cadence/runtime/common"
3030
"github.com/onflow/cadence/runtime/sema"
31-
"github.com/onflow/flow-go-sdk/crypto"
3231
templates "github.com/onflow/sdks"
3332

33+
"github.com/onflow/flow-go-sdk/crypto"
34+
3435
"github.com/onflow/flow-go-sdk"
3536
)
3637

‎templates/accounts_test.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ package templates_test
2121
import (
2222
"testing"
2323

24+
"github.com/stretchr/testify/require"
25+
2426
"github.com/onflow/flow-go-sdk"
2527
"github.com/onflow/flow-go-sdk/templates"
26-
"github.com/stretchr/testify/require"
2728
)
2829

2930
func TestCreateAccount(t *testing.T) {

0 commit comments

Comments
 (0)
Please sign in to comment.