Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion definition.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package graphql

import (
"context"
"fmt"
"reflect"
"regexp"

"github.com/graphql-go/graphql/language/ast"
"golang.org/x/net/context"
)

// Type interface for all of the possible kinds of GraphQL types
Expand Down
2 changes: 1 addition & 1 deletion examples/context/main.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package main

import (
"context"
"encoding/json"
"fmt"
"log"
"net/http"

"github.com/graphql-go/graphql"
"golang.org/x/net/context"
)

var Schema graphql.Schema
Expand Down
2 changes: 1 addition & 1 deletion executor.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package graphql

import (
"context"
"errors"
"fmt"
"reflect"
"strings"

"github.com/graphql-go/graphql/gqlerrors"
"github.com/graphql-go/graphql/language/ast"
"golang.org/x/net/context"
)

type ExecuteParams struct {
Expand Down
2 changes: 1 addition & 1 deletion executor_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package graphql_test

import (
"context"
"encoding/json"
"errors"
"fmt"
Expand All @@ -12,7 +13,6 @@ import (
"github.com/graphql-go/graphql/gqlerrors"
"github.com/graphql-go/graphql/language/location"
"github.com/graphql-go/graphql/testutil"
"golang.org/x/net/context"
)

func TestExecutesArbitraryCode(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion graphql.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package graphql

import (
"context"

"github.com/graphql-go/graphql/gqlerrors"
"github.com/graphql-go/graphql/language/parser"
"github.com/graphql-go/graphql/language/source"
"golang.org/x/net/context"
)

type Params struct {
Expand Down
2 changes: 1 addition & 1 deletion graphql_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package graphql_test

import (
"context"
"reflect"
"testing"

"github.com/graphql-go/graphql"
"github.com/graphql-go/graphql/testutil"
"golang.org/x/net/context"
)

type T struct {
Expand Down
2 changes: 1 addition & 1 deletion union_interface_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package graphql_test

import (
"context"
"reflect"
"testing"

"github.com/graphql-go/graphql"
"github.com/graphql-go/graphql/testutil"
"golang.org/x/net/context"
)

type testNamedType interface {
Expand Down