Skip to content

Commit 84f212b

Browse files
committedMar 13, 2025··
Refactor import statements in client.go and nodeClient.go for improved organization and consistency
1 parent 06bb8cf commit 84f212b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

‎client.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ package aptos
22

33
import (
44
"fmt"
5-
"net/http"
6-
"time"
75
"github.com/aptos-labs/aptos-go-sdk/api"
86
"github.com/aptos-labs/aptos-go-sdk/crypto"
97
"github.com/hasura/go-graphql-client"
8+
"net/http"
9+
"time"
1010
)
1111

1212
// NetworkConfig a configuration for the Client and which network to use. Use one of the preconfigured [LocalnetConfig], [DevnetConfig], [TestnetConfig], or [MainnetConfig] unless you have your own full node.

‎nodeClient.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ import (
55
"encoding/json"
66
"errors"
77
"fmt"
8+
"github.com/aptos-labs/aptos-go-sdk/api"
9+
"github.com/aptos-labs/aptos-go-sdk/bcs"
10+
"github.com/aptos-labs/aptos-go-sdk/crypto"
811
"io"
912
"log/slog"
1013
"net/http"
@@ -13,9 +16,6 @@ import (
1316
"sort"
1417
"strconv"
1518
"time"
16-
"github.com/aptos-labs/aptos-go-sdk/api"
17-
"github.com/aptos-labs/aptos-go-sdk/bcs"
18-
"github.com/aptos-labs/aptos-go-sdk/crypto"
1919
)
2020

2121
const (

0 commit comments

Comments
 (0)
Please sign in to comment.