Skip to content

Commit

Permalink
Updated imports to github.com/graphql-go/*
Browse files Browse the repository at this point in the history
  • Loading branch information
sogko committed Nov 5, 2015
1 parent 0a2da67 commit 20f5183
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# golang-graphql-playground
An example Golang GraphQL server written with [graphql-go](https://github.com/chris-ramon/graphql-go) and [graphql-relay-go](https://github.com/sogko/graphql-relay-go)
An example Golang GraphQL server written with [graphql-go](https://github.com/graphql-go/graphql) and [graphql-relay-go](https://github.com/graphql-go/relay)

Try the live demo: http://bit.ly/try-graphql-go

### Features
- [graphql-go](https://github.com/chris-ramon/graphql-go): Golang GraphQL library
- [graphql-relay-go](https://github.com/sogko/graphql-relay-go): Golang GraphQL library helper to construct Relay-compliant server
- [graphql-go](https://github.com/graphql-go/graphql): Golang GraphQL library
- [graphql-relay-go](https://github.com/graphql-go/relay): Golang GraphQL library helper to construct Relay-compliant server
- [graphiql](https://github.com/graphql/graphiql): In-browser IDE to explore GraphQL queries
- [Starwars GraphQL Schema](https://github.com/sogko/graphql-relay-go/tree/master/examples/starwars): GraphQL example schema defined with Relay capabilities with the help of `graphql-relay-go`.
- [Starwars GraphQL Schema](https://github.com/graphql-go/relay/tree/master/examples/starwars): GraphQL example schema defined with Relay capabilities with the help of `graphql-relay-go`.

### To run locally
```bash
Expand Down
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ package main
import (
"net/http"

"github.com/sogko/graphql-go-handler"
"github.com/sogko/graphql-relay-go/examples/starwars"
"github.com/graphql-go/handler"
"github.com/graphql-go/relay/examples/starwars"
)

func main() {

// simplest relay-compliant graphql server HTTP handler
// using Starwars schema from `graphql-relay-go` examples
h := gqlhandler.New(&gqlhandler.Config{
h := handler.New(&handler.Config{
Schema: &starwars.Schema,
Pretty: true,
})
Expand Down

0 comments on commit 20f5183

Please sign in to comment.