File tree 7 files changed +8
-7
lines changed
7 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
1
package graphql
2
2
3
3
import (
4
+ "context"
4
5
"fmt"
5
6
"reflect"
6
7
"regexp"
7
8
8
9
"github.com/graphql-go/graphql/language/ast"
9
- "golang.org/x/net/context"
10
10
)
11
11
12
12
// Type interface for all of the possible kinds of GraphQL types
Original file line number Diff line number Diff line change 1
1
package main
2
2
3
3
import (
4
+ "context"
4
5
"encoding/json"
5
6
"fmt"
6
7
"log"
7
8
"net/http"
8
9
9
10
"github.com/graphql-go/graphql"
10
- "golang.org/x/net/context"
11
11
)
12
12
13
13
var Schema graphql.Schema
Original file line number Diff line number Diff line change 1
1
package graphql
2
2
3
3
import (
4
+ "context"
4
5
"errors"
5
6
"fmt"
6
7
"reflect"
7
8
"strings"
8
9
9
10
"github.com/graphql-go/graphql/gqlerrors"
10
11
"github.com/graphql-go/graphql/language/ast"
11
- "golang.org/x/net/context"
12
12
)
13
13
14
14
type ExecuteParams struct {
Original file line number Diff line number Diff line change 1
1
package graphql_test
2
2
3
3
import (
4
+ "context"
4
5
"encoding/json"
5
6
"errors"
6
7
"fmt"
@@ -12,7 +13,6 @@ import (
12
13
"github.com/graphql-go/graphql/gqlerrors"
13
14
"github.com/graphql-go/graphql/language/location"
14
15
"github.com/graphql-go/graphql/testutil"
15
- "golang.org/x/net/context"
16
16
)
17
17
18
18
func TestExecutesArbitraryCode (t * testing.T ) {
Original file line number Diff line number Diff line change 1
1
package graphql
2
2
3
3
import (
4
+ "context"
5
+
4
6
"github.com/graphql-go/graphql/gqlerrors"
5
7
"github.com/graphql-go/graphql/language/parser"
6
8
"github.com/graphql-go/graphql/language/source"
7
- "golang.org/x/net/context"
8
9
)
9
10
10
11
type Params struct {
Original file line number Diff line number Diff line change 1
1
package graphql_test
2
2
3
3
import (
4
+ "context"
4
5
"reflect"
5
6
"testing"
6
7
7
8
"github.com/graphql-go/graphql"
8
9
"github.com/graphql-go/graphql/testutil"
9
- "golang.org/x/net/context"
10
10
)
11
11
12
12
type T struct {
Original file line number Diff line number Diff line change 1
1
package graphql_test
2
2
3
3
import (
4
+ "context"
4
5
"reflect"
5
6
"testing"
6
7
7
8
"github.com/graphql-go/graphql"
8
9
"github.com/graphql-go/graphql/testutil"
9
- "golang.org/x/net/context"
10
10
)
11
11
12
12
type testNamedType interface {
You can’t perform that action at this time.
0 commit comments