Skip to content

Commit 25d685b

Browse files
committed
Update import paths
1 parent d3b5a5f commit 25d685b

File tree

24 files changed

+71
-71
lines changed

24 files changed

+71
-71
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# graphql-go
22

3-
[![Sourcegraph](https://sourcegraph.com/github.com/neelance/graphql-go/-/badge.svg)](https://sourcegraph.com/github.com/neelance/graphql-go?badge)
3+
[![Sourcegraph](https://sourcegraph.com/github.com/graph-gophers/graphql-go/-/badge.svg)](https://sourcegraph.com/github.com/graph-gophers/graphql-go?badge)
44
[![Build Status](https://semaphoreci.com/api/v1/neelance/graphql-go/branches/master/badge.svg)](https://semaphoreci.com/neelance/graphql-go)
5-
[![GoDoc](https://godoc.org/github.com/neelance/graphql-go?status.svg)](https://godoc.org/github.com/neelance/graphql-go)
5+
[![GoDoc](https://godoc.org/github.com/graph-gophers/graphql-go?status.svg)](https://godoc.org/github.com/graph-gophers/graphql-go)
66

77
## Status
88

example/starwars/server/server.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"log"
55
"net/http"
66

7-
"github.com/neelance/graphql-go"
8-
"github.com/neelance/graphql-go/example/starwars"
9-
"github.com/neelance/graphql-go/relay"
7+
"github.com/graph-gophers/graphql-go"
8+
"github.com/graph-gophers/graphql-go/example/starwars"
9+
"github.com/graph-gophers/graphql-go/relay"
1010
)
1111

1212
var schema *graphql.Schema

example/starwars/starwars.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"strconv"
1010
"strings"
1111

12-
graphql "github.com/neelance/graphql-go"
12+
graphql "github.com/graph-gophers/graphql-go"
1313
)
1414

1515
var Schema = `

gqltesting/testing.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"strconv"
88
"testing"
99

10-
graphql "github.com/neelance/graphql-go"
10+
graphql "github.com/graph-gophers/graphql-go"
1111
)
1212

1313
// Test is a GraphQL test case to be used with RunTest(s).

graphql.go

+11-11
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ import (
66

77
"encoding/json"
88

9-
"github.com/neelance/graphql-go/errors"
10-
"github.com/neelance/graphql-go/internal/common"
11-
"github.com/neelance/graphql-go/internal/exec"
12-
"github.com/neelance/graphql-go/internal/exec/resolvable"
13-
"github.com/neelance/graphql-go/internal/exec/selected"
14-
"github.com/neelance/graphql-go/internal/query"
15-
"github.com/neelance/graphql-go/internal/schema"
16-
"github.com/neelance/graphql-go/internal/validation"
17-
"github.com/neelance/graphql-go/introspection"
18-
"github.com/neelance/graphql-go/log"
19-
"github.com/neelance/graphql-go/trace"
9+
"github.com/graph-gophers/graphql-go/errors"
10+
"github.com/graph-gophers/graphql-go/internal/common"
11+
"github.com/graph-gophers/graphql-go/internal/exec"
12+
"github.com/graph-gophers/graphql-go/internal/exec/resolvable"
13+
"github.com/graph-gophers/graphql-go/internal/exec/selected"
14+
"github.com/graph-gophers/graphql-go/internal/query"
15+
"github.com/graph-gophers/graphql-go/internal/schema"
16+
"github.com/graph-gophers/graphql-go/internal/validation"
17+
"github.com/graph-gophers/graphql-go/introspection"
18+
"github.com/graph-gophers/graphql-go/log"
19+
"github.com/graph-gophers/graphql-go/trace"
2020
)
2121

2222
// ParseSchema parses a GraphQL schema and attaches the given root resolver. It returns an error if

graphql_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"testing"
66
"time"
77

8-
"github.com/neelance/graphql-go"
9-
"github.com/neelance/graphql-go/example/starwars"
10-
"github.com/neelance/graphql-go/gqltesting"
8+
"github.com/graph-gophers/graphql-go"
9+
"github.com/graph-gophers/graphql-go/example/starwars"
10+
"github.com/graph-gophers/graphql-go/gqltesting"
1111
)
1212

1313
type helloWorldResolver1 struct{}

internal/common/lexer.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"text/scanner"
66

7-
"github.com/neelance/graphql-go/errors"
7+
"github.com/graph-gophers/graphql-go/errors"
88
)
99

1010
type syntaxError string

internal/common/literals.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"strings"
66
"text/scanner"
77

8-
"github.com/neelance/graphql-go/errors"
8+
"github.com/graph-gophers/graphql-go/errors"
99
)
1010

1111
type Literal interface {

internal/common/types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package common
22

33
import (
4-
"github.com/neelance/graphql-go/errors"
4+
"github.com/graph-gophers/graphql-go/errors"
55
)
66

77
type Type interface {

internal/common/values.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package common
22

33
import (
4-
"github.com/neelance/graphql-go/errors"
4+
"github.com/graph-gophers/graphql-go/errors"
55
)
66

77
type InputValue struct {

internal/exec/exec.go

+8-8
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ import (
77
"reflect"
88
"sync"
99

10-
"github.com/neelance/graphql-go/errors"
11-
"github.com/neelance/graphql-go/internal/common"
12-
"github.com/neelance/graphql-go/internal/exec/resolvable"
13-
"github.com/neelance/graphql-go/internal/exec/selected"
14-
"github.com/neelance/graphql-go/internal/query"
15-
"github.com/neelance/graphql-go/internal/schema"
16-
"github.com/neelance/graphql-go/log"
17-
"github.com/neelance/graphql-go/trace"
10+
"github.com/graph-gophers/graphql-go/errors"
11+
"github.com/graph-gophers/graphql-go/internal/common"
12+
"github.com/graph-gophers/graphql-go/internal/exec/resolvable"
13+
"github.com/graph-gophers/graphql-go/internal/exec/selected"
14+
"github.com/graph-gophers/graphql-go/internal/query"
15+
"github.com/graph-gophers/graphql-go/internal/schema"
16+
"github.com/graph-gophers/graphql-go/log"
17+
"github.com/graph-gophers/graphql-go/trace"
1818
)
1919

2020
type Request struct {

internal/exec/packer/packer.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
"reflect"
77
"strings"
88

9-
"github.com/neelance/graphql-go/errors"
10-
"github.com/neelance/graphql-go/internal/common"
11-
"github.com/neelance/graphql-go/internal/schema"
9+
"github.com/graph-gophers/graphql-go/errors"
10+
"github.com/graph-gophers/graphql-go/internal/common"
11+
"github.com/graph-gophers/graphql-go/internal/schema"
1212
)
1313

1414
type packer interface {

internal/exec/resolvable/meta.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"fmt"
55
"reflect"
66

7-
"github.com/neelance/graphql-go/internal/common"
8-
"github.com/neelance/graphql-go/internal/schema"
9-
"github.com/neelance/graphql-go/introspection"
7+
"github.com/graph-gophers/graphql-go/internal/common"
8+
"github.com/graph-gophers/graphql-go/internal/schema"
9+
"github.com/graph-gophers/graphql-go/introspection"
1010
)
1111

1212
var MetaSchema *Object

internal/exec/resolvable/resolvable.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
"reflect"
77
"strings"
88

9-
"github.com/neelance/graphql-go/internal/common"
10-
"github.com/neelance/graphql-go/internal/exec/packer"
11-
"github.com/neelance/graphql-go/internal/schema"
9+
"github.com/graph-gophers/graphql-go/internal/common"
10+
"github.com/graph-gophers/graphql-go/internal/exec/packer"
11+
"github.com/graph-gophers/graphql-go/internal/schema"
1212
)
1313

1414
type Schema struct {

internal/exec/selected/selected.go

+7-7
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ import (
55
"reflect"
66
"sync"
77

8-
"github.com/neelance/graphql-go/errors"
9-
"github.com/neelance/graphql-go/internal/common"
10-
"github.com/neelance/graphql-go/internal/exec/packer"
11-
"github.com/neelance/graphql-go/internal/exec/resolvable"
12-
"github.com/neelance/graphql-go/internal/query"
13-
"github.com/neelance/graphql-go/internal/schema"
14-
"github.com/neelance/graphql-go/introspection"
8+
"github.com/graph-gophers/graphql-go/errors"
9+
"github.com/graph-gophers/graphql-go/internal/common"
10+
"github.com/graph-gophers/graphql-go/internal/exec/packer"
11+
"github.com/graph-gophers/graphql-go/internal/exec/resolvable"
12+
"github.com/graph-gophers/graphql-go/internal/query"
13+
"github.com/graph-gophers/graphql-go/internal/schema"
14+
"github.com/graph-gophers/graphql-go/introspection"
1515
)
1616

1717
type Request struct {

internal/query/query.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"strings"
66
"text/scanner"
77

8-
"github.com/neelance/graphql-go/errors"
9-
"github.com/neelance/graphql-go/internal/common"
8+
"github.com/graph-gophers/graphql-go/errors"
9+
"github.com/graph-gophers/graphql-go/internal/common"
1010
)
1111

1212
type Document struct {

internal/schema/schema.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"strings"
66
"text/scanner"
77

8-
"github.com/neelance/graphql-go/errors"
9-
"github.com/neelance/graphql-go/internal/common"
8+
"github.com/graph-gophers/graphql-go/errors"
9+
"github.com/graph-gophers/graphql-go/internal/common"
1010
)
1111

1212
type Schema struct {

internal/tests/all_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import (
88

99
"encoding/json"
1010

11-
"github.com/neelance/graphql-go/errors"
12-
"github.com/neelance/graphql-go/internal/query"
13-
"github.com/neelance/graphql-go/internal/schema"
14-
"github.com/neelance/graphql-go/internal/validation"
11+
"github.com/graph-gophers/graphql-go/errors"
12+
"github.com/graph-gophers/graphql-go/internal/query"
13+
"github.com/graph-gophers/graphql-go/internal/schema"
14+
"github.com/graph-gophers/graphql-go/internal/validation"
1515
)
1616

1717
type Test struct {

internal/validation/validation.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import (
88
"strings"
99
"text/scanner"
1010

11-
"github.com/neelance/graphql-go/errors"
12-
"github.com/neelance/graphql-go/internal/common"
13-
"github.com/neelance/graphql-go/internal/query"
14-
"github.com/neelance/graphql-go/internal/schema"
11+
"github.com/graph-gophers/graphql-go/errors"
12+
"github.com/graph-gophers/graphql-go/internal/common"
13+
"github.com/graph-gophers/graphql-go/internal/query"
14+
"github.com/graph-gophers/graphql-go/internal/schema"
1515
)
1616

1717
type varSet map[*common.InputValue]struct{}

introspection.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"encoding/json"
66

7-
"github.com/neelance/graphql-go/internal/exec/resolvable"
8-
"github.com/neelance/graphql-go/introspection"
7+
"github.com/graph-gophers/graphql-go/internal/exec/resolvable"
8+
"github.com/graph-gophers/graphql-go/introspection"
99
)
1010

1111
// Inspect allows inspection of the given schema.

introspection/introspection.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package introspection
33
import (
44
"sort"
55

6-
"github.com/neelance/graphql-go/internal/common"
7-
"github.com/neelance/graphql-go/internal/schema"
6+
"github.com/graph-gophers/graphql-go/internal/common"
7+
"github.com/graph-gophers/graphql-go/internal/schema"
88
)
99

1010
type Schema struct {

relay/relay.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"net/http"
99
"strings"
1010

11-
graphql "github.com/neelance/graphql-go"
11+
graphql "github.com/graph-gophers/graphql-go"
1212
)
1313

1414
func MarshalID(kind string, spec interface{}) graphql.ID {

relay/relay_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"strings"
66
"testing"
77

8-
"github.com/neelance/graphql-go"
9-
"github.com/neelance/graphql-go/example/starwars"
10-
"github.com/neelance/graphql-go/relay"
8+
"github.com/graph-gophers/graphql-go"
9+
"github.com/graph-gophers/graphql-go/example/starwars"
10+
"github.com/graph-gophers/graphql-go/relay"
1111
)
1212

1313
var starwarsSchema = graphql.MustParseSchema(starwars.Schema, &starwars.Resolver{})

trace/trace.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"fmt"
66

7-
"github.com/neelance/graphql-go/errors"
8-
"github.com/neelance/graphql-go/introspection"
7+
"github.com/graph-gophers/graphql-go/errors"
8+
"github.com/graph-gophers/graphql-go/introspection"
99
opentracing "github.com/opentracing/opentracing-go"
1010
"github.com/opentracing/opentracing-go/ext"
1111
"github.com/opentracing/opentracing-go/log"

0 commit comments

Comments
 (0)