Skip to content
This repository was archived by the owner on Apr 1, 2024. It is now read-only.

Commit b55e770

Browse files
committed
replaced with Code-Hex/gqlparser
1 parent 6cc243f commit b55e770

File tree

10 files changed

+19
-17
lines changed

10 files changed

+19
-17
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ go 1.16
44

55
require (
66
github.com/99designs/gqlgen v0.13.0
7-
github.com/Code-Hex/gqlparser/v2 v2.1.1-0.20210406023454-534efe0eae8e
87
github.com/agnivade/levenshtein v1.1.0 // indirect
98
github.com/goccy/go-yaml v1.8.9
109
github.com/google/go-cmp v0.5.5
10+
github.com/gqlgo/gqlparser/v2 v2.1.1-0.20210406143310-243d3ee28500 // indirect
1111
github.com/machinebox/graphql v0.2.2
1212
github.com/matryer/is v1.4.0 // indirect
1313
github.com/mattn/go-zglob v0.0.3

go.sum

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
github.com/99designs/gqlgen v0.13.0 h1:haLTcUp3Vwp80xMVEg5KRNwzfUrgFdRmtBY8fuB8scA=
22
github.com/99designs/gqlgen v0.13.0/go.mod h1:NV130r6f4tpRWuAI+zsrSdooO/eWUv+Gyyoi3rEfXIk=
33
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
4-
github.com/Code-Hex/gqlparser/v2 v2.1.1-0.20210404043438-758ac252308a h1:IzMV22Hitzxqb71um5i64jEJTyeUVwemK8JmcQdgpA4=
5-
github.com/Code-Hex/gqlparser/v2 v2.1.1-0.20210404043438-758ac252308a/go.mod h1:0sYgRh/Er/ZhHrcKw516TOX4K0ul94vKcBSXAPhLWDc=
6-
github.com/Code-Hex/gqlparser/v2 v2.1.1-0.20210406023454-534efe0eae8e h1:dF5TaS3uw9LA8e75LojnUmnHdhfw1I1ScV9Qy1Stuu8=
7-
github.com/Code-Hex/gqlparser/v2 v2.1.1-0.20210406023454-534efe0eae8e/go.mod h1:0sYgRh/Er/ZhHrcKw516TOX4K0ul94vKcBSXAPhLWDc=
84
github.com/agnivade/levenshtein v1.0.1/go.mod h1:CURSv5d9Uaml+FovSIICkLbAUZ9S4RqaHDIsdSBg7lM=
95
github.com/agnivade/levenshtein v1.0.3/go.mod h1:4SFRZbbXWLF4MU1T9Qg0pGgH3Pjs+t6ie5efyrwRJXs=
106
github.com/agnivade/levenshtein v1.1.0 h1:n6qGwyHG61v3ABce1rPVZklEYRT8NFpCMrpZdBUbYGM=
@@ -39,6 +35,12 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
3935
github.com/gorilla/context v0.0.0-20160226214623-1ea25387ff6f/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg=
4036
github.com/gorilla/mux v1.6.1/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs=
4137
github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
38+
github.com/gqlgo/gqlparser/v2 v2.1.1-0.20210404043438-758ac252308a h1:IzMV22Hitzxqb71um5i64jEJTyeUVwemK8JmcQdgpA4=
39+
github.com/gqlgo/gqlparser/v2 v2.1.1-0.20210404043438-758ac252308a/go.mod h1:0sYgRh/Er/ZhHrcKw516TOX4K0ul94vKcBSXAPhLWDc=
40+
github.com/gqlgo/gqlparser/v2 v2.1.1-0.20210406023454-534efe0eae8e h1:dF5TaS3uw9LA8e75LojnUmnHdhfw1I1ScV9Qy1Stuu8=
41+
github.com/gqlgo/gqlparser/v2 v2.1.1-0.20210406023454-534efe0eae8e/go.mod h1:0sYgRh/Er/ZhHrcKw516TOX4K0ul94vKcBSXAPhLWDc=
42+
github.com/gqlgo/gqlparser/v2 v2.1.1-0.20210406143310-243d3ee28500 h1:MU4UNUZ+6KtOt1Kv6AQSefKvSW+6mNoZfrX+A8y82yc=
43+
github.com/gqlgo/gqlparser/v2 v2.1.1-0.20210406143310-243d3ee28500/go.mod h1:tcoG4afq1O8aR/IjCYadz/CWSie6ouAQYfoAPoNqdmA=
4244
github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
4345
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
4446
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=

internal/gqlgen/gqlgen.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ import (
1212
gql "github.com/99designs/gqlgen/graphql"
1313
"github.com/Code-Hex/gqldoc/internal/graphql"
1414
"github.com/Code-Hex/gqldoc/internal/wrapper"
15-
gqlparser "github.com/Code-Hex/gqlparser/v2"
16-
"github.com/Code-Hex/gqlparser/v2/ast"
17-
"github.com/Code-Hex/gqlparser/v2/parser"
18-
"github.com/Code-Hex/gqlparser/v2/validator"
15+
gqlparser "github.com/gqlgo/gqlparser/v2"
16+
"github.com/gqlgo/gqlparser/v2/ast"
17+
"github.com/gqlgo/gqlparser/v2/parser"
18+
"github.com/gqlgo/gqlparser/v2/validator"
1919
"github.com/pkg/errors"
2020
)
2121

internal/gqlgen/gqlgen_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ import (
1212
"github.com/Code-Hex/gqldoc/internal/gqlgen"
1313
"github.com/Code-Hex/gqldoc/internal/introspection"
1414
"github.com/Code-Hex/gqldoc/loader"
15-
gqlparser "github.com/Code-Hex/gqlparser/v2"
16-
"github.com/Code-Hex/gqlparser/v2/ast"
1715
"github.com/goccy/go-yaml"
1816
"github.com/google/go-cmp/cmp"
1917
"github.com/google/go-cmp/cmp/cmpopts"
18+
gqlparser "github.com/gqlgo/gqlparser/v2"
19+
"github.com/gqlgo/gqlparser/v2/ast"
2020
"github.com/pkg/errors"
2121
)
2222

internal/graphql/context_operation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"errors"
66

7-
"github.com/Code-Hex/gqlparser/v2/ast"
7+
"github.com/gqlgo/gqlparser/v2/ast"
88
)
99

1010
type OperationContext struct {

internal/graphql/executable_schema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package graphql
33
import (
44
"fmt"
55

6-
"github.com/Code-Hex/gqlparser/v2/ast"
6+
"github.com/gqlgo/gqlparser/v2/ast"
77
)
88

99
// CollectFields returns the set of fields from an ast.SelectionSet where all collected fields satisfy at least one of the GraphQL types

internal/wrapper/schema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"sort"
55
"strings"
66

7-
"github.com/Code-Hex/gqlparser/v2/ast"
7+
"github.com/gqlgo/gqlparser/v2/ast"
88
)
99

1010
type WrapSchemaOption func(s *Schema)

internal/wrapper/type.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package wrapper
33
import (
44
"strings"
55

6-
"github.com/Code-Hex/gqlparser/v2/ast"
6+
"github.com/gqlgo/gqlparser/v2/ast"
77
)
88

99
type Type struct {

internal/wrapper/type_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package wrapper
33
import (
44
"testing"
55

6-
"github.com/Code-Hex/gqlparser/v2/ast"
6+
"github.com/gqlgo/gqlparser/v2/ast"
77
)
88

99
func TestType(t *testing.T) {

internal/wrapper/wrapper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package wrapper
22

3-
import "github.com/Code-Hex/gqlparser/v2/ast"
3+
import "github.com/gqlgo/gqlparser/v2/ast"
44

55
type (
66
Directive struct {

0 commit comments

Comments
 (0)