Skip to content

Update import paths to github.com/graphql-go/graphql #53

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 5, 2015
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
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ before_install:

script:
- $HOME/gopath/bin/goveralls -service=travis-ci

8 changes: 4 additions & 4 deletions abstract_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"reflect"
"testing"

"github.com/chris-ramon/graphql"
"github.com/chris-ramon/graphql/gqlerrors"
"github.com/chris-ramon/graphql/language/location"
"github.com/chris-ramon/graphql/testutil"
"github.com/graphql-go/graphql"
"github.com/graphql-go/graphql/gqlerrors"
"github.com/graphql-go/graphql/language/location"
"github.com/graphql-go/graphql/testutil"
)

type testDog struct {
Expand Down
2 changes: 1 addition & 1 deletion definition.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"reflect"
"regexp"

"github.com/chris-ramon/graphql/language/ast"
"github.com/graphql-go/graphql/language/ast"
)

// These are all of the possible kinds of
Expand Down
4 changes: 2 additions & 2 deletions definition_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"reflect"
"testing"

"github.com/chris-ramon/graphql"
"github.com/chris-ramon/graphql/testutil"
"github.com/graphql-go/graphql"
"github.com/graphql-go/graphql/testutil"
)

var blogImage = graphql.NewObject(graphql.ObjectConfig{
Expand Down
4 changes: 2 additions & 2 deletions directives_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"reflect"
"testing"

"github.com/chris-ramon/graphql"
"github.com/chris-ramon/graphql/testutil"
"github.com/graphql-go/graphql"
"github.com/graphql-go/graphql/testutil"
)

var directivesTestSchema, _ = graphql.NewSchema(graphql.SchemaConfig{
Expand Down
6 changes: 3 additions & 3 deletions enum_type_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"reflect"
"testing"

"github.com/chris-ramon/graphql"
"github.com/chris-ramon/graphql/gqlerrors"
"github.com/chris-ramon/graphql/testutil"
"github.com/graphql-go/graphql"
"github.com/graphql-go/graphql/gqlerrors"
"github.com/graphql-go/graphql/testutil"
)

var enumTypeTestColorType = graphql.NewEnum(graphql.EnumConfig{
Expand Down
2 changes: 1 addition & 1 deletion examples/http/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"io/ioutil"
"net/http"

"github.com/chris-ramon/graphql"
"github.com/graphql-go/graphql"
)

type user struct {
Expand Down
4 changes: 2 additions & 2 deletions executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"reflect"
"strings"

"github.com/chris-ramon/graphql/gqlerrors"
"github.com/chris-ramon/graphql/language/ast"
"github.com/graphql-go/graphql/gqlerrors"
"github.com/graphql-go/graphql/language/ast"
)

type ExecuteParams struct {
Expand Down
4 changes: 2 additions & 2 deletions executor_schema_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"reflect"
"testing"

"github.com/chris-ramon/graphql"
"github.com/chris-ramon/graphql/testutil"
"github.com/graphql-go/graphql"
"github.com/graphql-go/graphql/testutil"
)

// TODO: have a separate package for other tests for eg `parser`
Expand Down
8 changes: 4 additions & 4 deletions executor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"reflect"
"testing"

"github.com/chris-ramon/graphql"
"github.com/chris-ramon/graphql/gqlerrors"
"github.com/chris-ramon/graphql/language/location"
"github.com/chris-ramon/graphql/testutil"
"github.com/graphql-go/graphql"
"github.com/graphql-go/graphql/gqlerrors"
"github.com/graphql-go/graphql/language/location"
"github.com/graphql-go/graphql/testutil"
)

func TestExecutesArbitraryCode(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions gqlerrors/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package gqlerrors
import (
"fmt"

"github.com/chris-ramon/graphql/language/ast"
"github.com/chris-ramon/graphql/language/location"
"github.com/chris-ramon/graphql/language/source"
"github.com/graphql-go/graphql/language/ast"
"github.com/graphql-go/graphql/language/location"
"github.com/graphql-go/graphql/language/source"
)

type Error struct {
Expand Down
2 changes: 1 addition & 1 deletion gqlerrors/formatted.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gqlerrors
import (
"errors"

"github.com/chris-ramon/graphql/language/location"
"github.com/graphql-go/graphql/language/location"
)

type FormattedError struct {
Expand Down
2 changes: 1 addition & 1 deletion gqlerrors/located.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gqlerrors

import (
"github.com/chris-ramon/graphql/language/ast"
"github.com/graphql-go/graphql/language/ast"
)

func NewLocatedError(err interface{}, nodes []ast.Node) *Error {
Expand Down
6 changes: 3 additions & 3 deletions gqlerrors/syntax.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"fmt"
"regexp"

"github.com/chris-ramon/graphql/language/ast"
"github.com/chris-ramon/graphql/language/location"
"github.com/chris-ramon/graphql/language/source"
"github.com/graphql-go/graphql/language/ast"
"github.com/graphql-go/graphql/language/location"
"github.com/graphql-go/graphql/language/source"
)

func NewSyntaxError(s *source.Source, position int, description string) *Error {
Expand Down
6 changes: 3 additions & 3 deletions graphql.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package graphql

import (
"github.com/chris-ramon/graphql/gqlerrors"
"github.com/chris-ramon/graphql/language/parser"
"github.com/chris-ramon/graphql/language/source"
"github.com/graphql-go/graphql/gqlerrors"
"github.com/graphql-go/graphql/language/parser"
"github.com/graphql-go/graphql/language/source"
)

type Params struct {
Expand Down
4 changes: 2 additions & 2 deletions graphql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"reflect"
"testing"

"github.com/chris-ramon/graphql"
"github.com/chris-ramon/graphql/testutil"
"github.com/graphql-go/graphql"
"github.com/graphql-go/graphql/testutil"
)

type T struct {
Expand Down
4 changes: 2 additions & 2 deletions introspection.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"reflect"

"github.com/chris-ramon/graphql/language/ast"
"github.com/chris-ramon/graphql/language/printer"
"github.com/graphql-go/graphql/language/ast"
"github.com/graphql-go/graphql/language/printer"
)

const (
Expand Down
8 changes: 4 additions & 4 deletions introspection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"reflect"
"testing"

"github.com/chris-ramon/graphql"
"github.com/chris-ramon/graphql/gqlerrors"
"github.com/chris-ramon/graphql/language/location"
"github.com/chris-ramon/graphql/testutil"
"github.com/graphql-go/graphql"
"github.com/graphql-go/graphql/gqlerrors"
"github.com/graphql-go/graphql/language/location"
"github.com/graphql-go/graphql/testutil"
)

func g(t *testing.T, p graphql.Params) *graphql.Result {
Expand Down
2 changes: 1 addition & 1 deletion language/ast/arguments.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ast

import (
"github.com/chris-ramon/graphql/language/kinds"
"github.com/graphql-go/graphql/language/kinds"
)

// Argument implements Node
Expand Down
2 changes: 1 addition & 1 deletion language/ast/definitions.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ast

import (
"github.com/chris-ramon/graphql/language/kinds"
"github.com/graphql-go/graphql/language/kinds"
)

type Definition interface {
Expand Down
2 changes: 1 addition & 1 deletion language/ast/directives.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ast

import (
"github.com/chris-ramon/graphql/language/kinds"
"github.com/graphql-go/graphql/language/kinds"
)

// Directive implements Node
Expand Down
2 changes: 1 addition & 1 deletion language/ast/document.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ast

import (
"github.com/chris-ramon/graphql/language/kinds"
"github.com/graphql-go/graphql/language/kinds"
)

// Document implements Node
Expand Down
2 changes: 1 addition & 1 deletion language/ast/location.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ast

import (
"github.com/chris-ramon/graphql/language/source"
"github.com/graphql-go/graphql/language/source"
)

type Location struct {
Expand Down
2 changes: 1 addition & 1 deletion language/ast/name.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ast

import (
"github.com/chris-ramon/graphql/language/kinds"
"github.com/graphql-go/graphql/language/kinds"
)

// Name implements Node
Expand Down
2 changes: 1 addition & 1 deletion language/ast/selections.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ast

import (
"github.com/chris-ramon/graphql/language/kinds"
"github.com/graphql-go/graphql/language/kinds"
)

type Selection interface {
Expand Down
2 changes: 1 addition & 1 deletion language/ast/type_definitions.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ast

import (
"github.com/chris-ramon/graphql/language/kinds"
"github.com/graphql-go/graphql/language/kinds"
)

// Ensure that all typeDefinition types implements Definition interface
Expand Down
2 changes: 1 addition & 1 deletion language/ast/types.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ast

import (
"github.com/chris-ramon/graphql/language/kinds"
"github.com/graphql-go/graphql/language/kinds"
)

type Type interface {
Expand Down
2 changes: 1 addition & 1 deletion language/ast/values.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ast

import (
"github.com/chris-ramon/graphql/language/kinds"
"github.com/graphql-go/graphql/language/kinds"
)

type Value interface {
Expand Down
4 changes: 2 additions & 2 deletions language/lexer/lexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package lexer
import (
"fmt"

"github.com/chris-ramon/graphql/gqlerrors"
"github.com/chris-ramon/graphql/language/source"
"github.com/graphql-go/graphql/gqlerrors"
"github.com/graphql-go/graphql/language/source"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion language/lexer/lexer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"reflect"
"testing"

"github.com/chris-ramon/graphql/language/source"
"github.com/graphql-go/graphql/language/source"
)

type Test struct {
Expand Down
2 changes: 1 addition & 1 deletion language/location/location.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package location
import (
"regexp"

"github.com/chris-ramon/graphql/language/source"
"github.com/graphql-go/graphql/language/source"
)

type SourceLocation struct {
Expand Down
8 changes: 4 additions & 4 deletions language/parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package parser
import (
"fmt"

"github.com/chris-ramon/graphql/gqlerrors"
"github.com/chris-ramon/graphql/language/ast"
"github.com/chris-ramon/graphql/language/lexer"
"github.com/chris-ramon/graphql/language/source"
"github.com/graphql-go/graphql/gqlerrors"
"github.com/graphql-go/graphql/language/ast"
"github.com/graphql-go/graphql/language/lexer"
"github.com/graphql-go/graphql/language/source"
)

type parseFn func(parser *Parser) (interface{}, error)
Expand Down
8 changes: 4 additions & 4 deletions language/parser/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"strings"
"testing"

"github.com/chris-ramon/graphql/gqlerrors"
"github.com/chris-ramon/graphql/language/ast"
"github.com/chris-ramon/graphql/language/location"
"github.com/chris-ramon/graphql/language/source"
"github.com/graphql-go/graphql/gqlerrors"
"github.com/graphql-go/graphql/language/ast"
"github.com/graphql-go/graphql/language/location"
"github.com/graphql-go/graphql/language/source"
)

func TestAcceptsOptionToNotIncludeSource(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions language/parser/schema_parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"reflect"
"testing"

"github.com/chris-ramon/graphql/gqlerrors"
"github.com/chris-ramon/graphql/language/ast"
"github.com/chris-ramon/graphql/language/location"
"github.com/chris-ramon/graphql/language/source"
"github.com/graphql-go/graphql/gqlerrors"
"github.com/graphql-go/graphql/language/ast"
"github.com/graphql-go/graphql/language/location"
"github.com/graphql-go/graphql/language/source"
)

func parse(t *testing.T, query string) *ast.Document {
Expand Down
4 changes: 2 additions & 2 deletions language/printer/printer.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"strings"

"github.com/chris-ramon/graphql/language/ast"
"github.com/chris-ramon/graphql/language/visitor"
"github.com/graphql-go/graphql/language/ast"
"github.com/graphql-go/graphql/language/visitor"
)

func getMapValue(m map[string]interface{}, key string) interface{} {
Expand Down
8 changes: 4 additions & 4 deletions language/printer/printer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"reflect"
"testing"

"github.com/chris-ramon/graphql/language/ast"
"github.com/chris-ramon/graphql/language/parser"
"github.com/chris-ramon/graphql/language/printer"
"github.com/chris-ramon/graphql/testutil"
"github.com/graphql-go/graphql/language/ast"
"github.com/graphql-go/graphql/language/parser"
"github.com/graphql-go/graphql/language/printer"
"github.com/graphql-go/graphql/testutil"
)

func parse(t *testing.T, query string) *ast.Document {
Expand Down
Loading