Skip to content

Commit ab2980d

Browse files
committed
run goimports on all files
1 parent 47121ce commit ab2980d

26 files changed

+47
-21
lines changed

_examples/benchmarking/benchmarks_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ package benchmarking
22

33
import (
44
"fmt"
5+
"testing"
6+
57
"github.com/99designs/gqlgen/_examples/benchmarking/models"
68
gqlclient "github.com/99designs/gqlgen/client"
7-
"testing"
89

910
"github.com/99designs/gqlgen/_examples/benchmarking/generated"
1011
"github.com/99designs/gqlgen/graphql/handler"

_examples/benchmarking/resolvers.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ package benchmarking
66
import (
77
"context"
88
"errors"
9+
"strings"
10+
911
"github.com/99designs/gqlgen/_examples/benchmarking/generated"
1012
"github.com/99designs/gqlgen/_examples/benchmarking/models"
11-
"strings"
1213
)
1314

1415
type Resolver struct {

graphql/coercion_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
package graphql
22

33
import (
4-
"github.com/goccy/go-json"
54
"testing"
65

6+
"github.com/goccy/go-json"
7+
78
"github.com/stretchr/testify/assert"
89
)
910

graphql/executor/testexecutor/testexecutor.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ import (
55
"context"
66
"errors"
77
"fmt"
8-
"github.com/goccy/go-json"
98
"io"
109
"time"
1110

11+
"github.com/goccy/go-json"
12+
1213
"github.com/vektah/gqlparser/v2"
1314
"github.com/vektah/gqlparser/v2/ast"
1415

graphql/float.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ import (
44
"context"
55
"errors"
66
"fmt"
7-
"github.com/goccy/go-json"
87
"io"
98
"math"
109
"strconv"
10+
11+
"github.com/goccy/go-json"
1112
)
1213

1314
func MarshalFloat(f float64) Marshaler {

graphql/handler/apollofederatedtracingv1/tracing_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ package apollofederatedtracingv1_test
33
import (
44
"context"
55
"encoding/base64"
6-
"github.com/goccy/go-json"
76
"io"
87
"net/http"
98
"net/http/httptest"
109
"strings"
1110
"testing"
1211
"time"
1312

13+
"github.com/goccy/go-json"
14+
1415
"github.com/stretchr/testify/assert"
1516
"github.com/stretchr/testify/require"
1617
"github.com/vektah/gqlparser/v2/gqlerror"

graphql/handler/apollotracing/tracer_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
package apollotracing_test
22

33
import (
4-
"github.com/goccy/go-json"
54
"io"
65
"net/http"
76
"net/http/httptest"
87
"strings"
98
"testing"
109
"time"
1110

11+
"github.com/goccy/go-json"
12+
1213
"github.com/stretchr/testify/assert"
1314
"github.com/stretchr/testify/require"
1415
"github.com/vektah/gqlparser/v2/ast"

graphql/handler/transport/http_form_multipart.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
package transport
22

33
import (
4-
"github.com/goccy/go-json"
54
"io"
65
"mime"
76
"net/http"
87
"os"
98

9+
"github.com/goccy/go-json"
10+
1011
"github.com/99designs/gqlgen/graphql"
1112
)
1213

graphql/handler/transport/http_get.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
package transport
22

33
import (
4-
"github.com/goccy/go-json"
54
"io"
65
"net/http"
76
"net/url"
87
"strings"
98

9+
"github.com/goccy/go-json"
10+
1011
"github.com/vektah/gqlparser/v2/ast"
1112
"github.com/vektah/gqlparser/v2/gqlerror"
1213

graphql/handler/transport/sse.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ package transport
22

33
import (
44
"fmt"
5-
"github.com/goccy/go-json"
65
"io"
76
"log"
87
"mime"
98
"net/http"
109
"strings"
1110

11+
"github.com/goccy/go-json"
12+
1213
"github.com/vektah/gqlparser/v2/gqlerror"
1314

1415
"github.com/99designs/gqlgen/graphql"

0 commit comments

Comments
 (0)