Skip to content

Commit

Permalink
update import to local path
Browse files Browse the repository at this point in the history
  • Loading branch information
agungdwiprasetyo committed Jul 23, 2020
1 parent ce0f021 commit 079631d
Show file tree
Hide file tree
Showing 42 changed files with 119 additions and 119 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# graphql-go [![Sourcegraph](https://sourcegraph.com/github.com/agungdwiprasetyo/graphql-go/-/badge.svg)](https://sourcegraph.com/github.com/agungdwiprasetyo/graphql-go?badge) [![Build Status](https://semaphoreci.com/api/v1/graph-gophers/graphql-go/branches/master/badge.svg)](https://semaphoreci.com/graph-gophers/graphql-go) [![GoDoc](https://godoc.org/github.com/agungdwiprasetyo/graphql-go?status.svg)](https://godoc.org/github.com/agungdwiprasetyo/graphql-go)
# graphql-go [![Sourcegraph](https://sourcegraph.com/github.com/golangid/graphql-go/-/badge.svg)](https://sourcegraph.com/github.com/golangid/graphql-go?badge) [![Build Status](https://semaphoreci.com/api/v1/graph-gophers/graphql-go/branches/master/badge.svg)](https://semaphoreci.com/graph-gophers/graphql-go) [![GoDoc](https://godoc.org/github.com/golangid/graphql-go?status.svg)](https://godoc.org/github.com/golangid/graphql-go)

<p align="center"><img src="docs/img/logo.png" width="300"></p>

Expand All @@ -21,7 +21,7 @@ safe for production use.

## Roadmap

We're trying out the GitHub Project feature to manage `graphql-go`'s [development roadmap](https://github.com/agungdwiprasetyo/graphql-go/projects/1).
We're trying out the GitHub Project feature to manage `graphql-go`'s [development roadmap](https://github.com/golangid/graphql-go/projects/1).
Feedback is welcome and appreciated.

## (Some) Documentation
Expand All @@ -35,8 +35,8 @@ import (
"log"
"net/http"

graphql "github.com/agungdwiprasetyo/graphql-go"
"github.com/agungdwiprasetyo/graphql-go/relay"
graphql "github.com/golangid/graphql-go"
"github.com/golangid/graphql-go/relay"
)

type query struct{}
Expand Down
2 changes: 1 addition & 1 deletion example/caching/caching.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"time"

"github.com/agungdwiprasetyo/graphql-go/example/caching/cache"
"github.com/golangid/graphql-go/example/caching/cache"
)

const Schema = `
Expand Down
6 changes: 3 additions & 3 deletions example/caching/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"log"
"net/http"

"github.com/agungdwiprasetyo/graphql-go"
"github.com/agungdwiprasetyo/graphql-go/example/caching"
"github.com/agungdwiprasetyo/graphql-go/example/caching/cache"
"github.com/golangid/graphql-go"
"github.com/golangid/graphql-go/example/caching"
"github.com/golangid/graphql-go/example/caching/cache"
)

var schema *graphql.Schema
Expand Down
6 changes: 3 additions & 3 deletions example/customerrors/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"log"
"net/http"

"github.com/agungdwiprasetyo/graphql-go"
"github.com/agungdwiprasetyo/graphql-go/example/customerrors"
"github.com/agungdwiprasetyo/graphql-go/relay"
"github.com/golangid/graphql-go"
"github.com/golangid/graphql-go/example/customerrors"
"github.com/golangid/graphql-go/relay"
)

var schema *graphql.Schema
Expand Down
2 changes: 1 addition & 1 deletion example/customerrors/starwars.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package customerrors
import (
"fmt"

"github.com/agungdwiprasetyo/graphql-go"
"github.com/golangid/graphql-go"
)

var Schema = `
Expand Down
6 changes: 3 additions & 3 deletions example/social/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"log"
"net/http"

"github.com/agungdwiprasetyo/graphql-go"
"github.com/agungdwiprasetyo/graphql-go/example/social"
"github.com/agungdwiprasetyo/graphql-go/relay"
"github.com/golangid/graphql-go"
"github.com/golangid/graphql-go/example/social"
"github.com/golangid/graphql-go/relay"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion example/social/social.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"time"

"github.com/agungdwiprasetyo/graphql-go"
"github.com/golangid/graphql-go"
)

const Schema = `
Expand Down
6 changes: 3 additions & 3 deletions example/starwars/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"log"
"net/http"

"github.com/agungdwiprasetyo/graphql-go"
"github.com/agungdwiprasetyo/graphql-go/example/starwars"
"github.com/agungdwiprasetyo/graphql-go/relay"
"github.com/golangid/graphql-go"
"github.com/golangid/graphql-go/example/starwars"
"github.com/golangid/graphql-go/relay"
)

var schema *graphql.Schema
Expand Down
2 changes: 1 addition & 1 deletion example/starwars/starwars.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strconv"
"strings"

graphql "github.com/agungdwiprasetyo/graphql-go"
graphql "github.com/golangid/graphql-go"
)

var Schema = `
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/agungdwiprasetyo/graphql-go
module github.com/golangid/graphql-go

require (
github.com/opentracing/opentracing-go v1.1.0
Expand Down
4 changes: 2 additions & 2 deletions gqltesting/subscriptions.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"strconv"
"testing"

graphql "github.com/agungdwiprasetyo/graphql-go"
"github.com/agungdwiprasetyo/graphql-go/errors"
graphql "github.com/golangid/graphql-go"
"github.com/golangid/graphql-go/errors"
)

// TestResponse models the expected response
Expand Down
4 changes: 2 additions & 2 deletions gqltesting/testing.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"strconv"
"testing"

graphql "github.com/agungdwiprasetyo/graphql-go"
"github.com/agungdwiprasetyo/graphql-go/errors"
graphql "github.com/golangid/graphql-go"
"github.com/golangid/graphql-go/errors"
)

// Test is a GraphQL test case to be used with RunTest(s).
Expand Down
22 changes: 11 additions & 11 deletions graphql.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ import (
"fmt"
"reflect"

"github.com/agungdwiprasetyo/graphql-go/errors"
"github.com/agungdwiprasetyo/graphql-go/internal/common"
"github.com/agungdwiprasetyo/graphql-go/internal/exec"
"github.com/agungdwiprasetyo/graphql-go/internal/exec/resolvable"
"github.com/agungdwiprasetyo/graphql-go/internal/exec/selected"
"github.com/agungdwiprasetyo/graphql-go/internal/query"
"github.com/agungdwiprasetyo/graphql-go/internal/schema"
"github.com/agungdwiprasetyo/graphql-go/internal/validation"
"github.com/agungdwiprasetyo/graphql-go/introspection"
"github.com/agungdwiprasetyo/graphql-go/log"
"github.com/agungdwiprasetyo/graphql-go/trace"
"github.com/golangid/graphql-go/errors"
"github.com/golangid/graphql-go/internal/common"
"github.com/golangid/graphql-go/internal/exec"
"github.com/golangid/graphql-go/internal/exec/resolvable"
"github.com/golangid/graphql-go/internal/exec/selected"
"github.com/golangid/graphql-go/internal/query"
"github.com/golangid/graphql-go/internal/schema"
"github.com/golangid/graphql-go/internal/validation"
"github.com/golangid/graphql-go/introspection"
"github.com/golangid/graphql-go/log"
"github.com/golangid/graphql-go/trace"
)

// ParseSchema parses a GraphQL schema and attaches the given root resolver. It returns an error if
Expand Down
8 changes: 4 additions & 4 deletions graphql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"testing"
"time"

"github.com/agungdwiprasetyo/graphql-go"
gqlerrors "github.com/agungdwiprasetyo/graphql-go/errors"
"github.com/agungdwiprasetyo/graphql-go/example/starwars"
"github.com/agungdwiprasetyo/graphql-go/gqltesting"
"github.com/golangid/graphql-go"
gqlerrors "github.com/golangid/graphql-go/errors"
"github.com/golangid/graphql-go/example/starwars"
"github.com/golangid/graphql-go/gqltesting"
)

type helloWorldResolver1 struct{}
Expand Down
2 changes: 1 addition & 1 deletion internal/common/lexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"text/scanner"

"github.com/agungdwiprasetyo/graphql-go/errors"
"github.com/golangid/graphql-go/errors"
)

type syntaxError string
Expand Down
2 changes: 1 addition & 1 deletion internal/common/lexer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package common_test
import (
"testing"

"github.com/agungdwiprasetyo/graphql-go/internal/common"
"github.com/golangid/graphql-go/internal/common"
)

type consumeTestCase struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/common/literals.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"
"text/scanner"

"github.com/agungdwiprasetyo/graphql-go/errors"
"github.com/golangid/graphql-go/errors"
)

type Literal interface {
Expand Down
2 changes: 1 addition & 1 deletion internal/common/types.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package common

import (
"github.com/agungdwiprasetyo/graphql-go/errors"
"github.com/golangid/graphql-go/errors"
)

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

import (
"github.com/agungdwiprasetyo/graphql-go/errors"
"github.com/golangid/graphql-go/errors"
)

// http://facebook.github.io/graphql/draft/#InputValueDefinition
Expand Down
16 changes: 8 additions & 8 deletions internal/exec/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ import (
"reflect"
"sync"

"github.com/agungdwiprasetyo/graphql-go/errors"
"github.com/agungdwiprasetyo/graphql-go/internal/common"
"github.com/agungdwiprasetyo/graphql-go/internal/exec/resolvable"
"github.com/agungdwiprasetyo/graphql-go/internal/exec/selected"
"github.com/agungdwiprasetyo/graphql-go/internal/query"
"github.com/agungdwiprasetyo/graphql-go/internal/schema"
"github.com/agungdwiprasetyo/graphql-go/log"
"github.com/agungdwiprasetyo/graphql-go/trace"
"github.com/golangid/graphql-go/errors"
"github.com/golangid/graphql-go/internal/common"
"github.com/golangid/graphql-go/internal/exec/resolvable"
"github.com/golangid/graphql-go/internal/exec/selected"
"github.com/golangid/graphql-go/internal/query"
"github.com/golangid/graphql-go/internal/schema"
"github.com/golangid/graphql-go/log"
"github.com/golangid/graphql-go/trace"
)

type Request struct {
Expand Down
6 changes: 3 additions & 3 deletions internal/exec/packer/packer.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"reflect"
"strings"

"github.com/agungdwiprasetyo/graphql-go/errors"
"github.com/agungdwiprasetyo/graphql-go/internal/common"
"github.com/agungdwiprasetyo/graphql-go/internal/schema"
"github.com/golangid/graphql-go/errors"
"github.com/golangid/graphql-go/internal/common"
"github.com/golangid/graphql-go/internal/schema"
)

type packer interface {
Expand Down
6 changes: 3 additions & 3 deletions internal/exec/resolvable/meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"fmt"
"reflect"

"github.com/agungdwiprasetyo/graphql-go/internal/common"
"github.com/agungdwiprasetyo/graphql-go/internal/schema"
"github.com/agungdwiprasetyo/graphql-go/introspection"
"github.com/golangid/graphql-go/internal/common"
"github.com/golangid/graphql-go/internal/schema"
"github.com/golangid/graphql-go/introspection"
)

// Meta defines the details of the metadata schema for introspection.
Expand Down
6 changes: 3 additions & 3 deletions internal/exec/resolvable/resolvable.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"reflect"
"strings"

"github.com/agungdwiprasetyo/graphql-go/internal/common"
"github.com/agungdwiprasetyo/graphql-go/internal/exec/packer"
"github.com/agungdwiprasetyo/graphql-go/internal/schema"
"github.com/golangid/graphql-go/internal/common"
"github.com/golangid/graphql-go/internal/exec/packer"
"github.com/golangid/graphql-go/internal/schema"
)

type QueryResolver interface {
Expand Down
14 changes: 7 additions & 7 deletions internal/exec/selected/selected.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import (
"reflect"
"sync"

"github.com/agungdwiprasetyo/graphql-go/errors"
"github.com/agungdwiprasetyo/graphql-go/internal/common"
"github.com/agungdwiprasetyo/graphql-go/internal/exec/packer"
"github.com/agungdwiprasetyo/graphql-go/internal/exec/resolvable"
"github.com/agungdwiprasetyo/graphql-go/internal/query"
"github.com/agungdwiprasetyo/graphql-go/internal/schema"
"github.com/agungdwiprasetyo/graphql-go/introspection"
"github.com/golangid/graphql-go/errors"
"github.com/golangid/graphql-go/internal/common"
"github.com/golangid/graphql-go/internal/exec/packer"
"github.com/golangid/graphql-go/internal/exec/resolvable"
"github.com/golangid/graphql-go/internal/query"
"github.com/golangid/graphql-go/internal/schema"
"github.com/golangid/graphql-go/introspection"
)

type Request struct {
Expand Down
10 changes: 5 additions & 5 deletions internal/exec/subscribe.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import (
"reflect"
"time"

"github.com/agungdwiprasetyo/graphql-go/errors"
"github.com/agungdwiprasetyo/graphql-go/internal/common"
"github.com/agungdwiprasetyo/graphql-go/internal/exec/resolvable"
"github.com/agungdwiprasetyo/graphql-go/internal/exec/selected"
"github.com/agungdwiprasetyo/graphql-go/internal/query"
"github.com/golangid/graphql-go/errors"
"github.com/golangid/graphql-go/internal/common"
"github.com/golangid/graphql-go/internal/exec/resolvable"
"github.com/golangid/graphql-go/internal/exec/selected"
"github.com/golangid/graphql-go/internal/query"
)

type Response struct {
Expand Down
4 changes: 2 additions & 2 deletions internal/query/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"text/scanner"

"github.com/agungdwiprasetyo/graphql-go/errors"
"github.com/agungdwiprasetyo/graphql-go/internal/common"
"github.com/golangid/graphql-go/errors"
"github.com/golangid/graphql-go/internal/common"
)

type Document struct {
Expand Down
4 changes: 2 additions & 2 deletions internal/schema/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"text/scanner"

"github.com/agungdwiprasetyo/graphql-go/errors"
"github.com/agungdwiprasetyo/graphql-go/internal/common"
"github.com/golangid/graphql-go/errors"
"github.com/golangid/graphql-go/internal/common"
)

// Schema represents a GraphQL service's collective type system capabilities.
Expand Down
4 changes: 2 additions & 2 deletions internal/schema/schema_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package schema
import (
"testing"

"github.com/agungdwiprasetyo/graphql-go/errors"
"github.com/agungdwiprasetyo/graphql-go/internal/common"
"github.com/golangid/graphql-go/errors"
"github.com/golangid/graphql-go/internal/common"
)

func TestParseInterfaceDef(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/schema/schema_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"testing"

"github.com/agungdwiprasetyo/graphql-go/internal/schema"
"github.com/golangid/graphql-go/internal/schema"
)

func TestParse(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions internal/validation/testdata/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/agungdwiprasetyo/graphql-go.git"
"url": "git+https://github.com/golangid/graphql-go.git"
},
"author": "",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/agungdwiprasetyo/graphql-go/issues"
"url": "https://github.com/golangid/graphql-go/issues"
},
"homepage": "https://github.com/agungdwiprasetyo/graphql-go#readme"
"homepage": "https://github.com/golangid/graphql-go#readme"
}
4 changes: 2 additions & 2 deletions internal/validation/validate_max_depth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package validation
import (
"testing"

"github.com/agungdwiprasetyo/graphql-go/internal/query"
"github.com/agungdwiprasetyo/graphql-go/internal/schema"
"github.com/golangid/graphql-go/internal/query"
"github.com/golangid/graphql-go/internal/schema"
)

const (
Expand Down
Loading

0 comments on commit 079631d

Please sign in to comment.