Skip to content

Commit

Permalink
Merge pull request #41 from graphql-go/readme
Browse files Browse the repository at this point in the history
README: update docs
  • Loading branch information
chris-ramon authored Jul 2, 2018
2 parents 84c7c23 + d171e86 commit b7e0284
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

Golang HTTP.Handler for [graphl-go](https://github.com/graphql-go/graphql)

### Notes:
This is based on alpha version of `graphql-go` and `graphql-relay-go`.
Be sure to watch both repositories for latest changes.

### Usage

```go
Expand All @@ -17,8 +13,6 @@ import (
)

func main() {

// define GraphQL schema using relay library helpers
schema, _ := graphql.NewSchema(...)

h := handler.New(&handler.Config{
Expand All @@ -27,7 +21,6 @@ func main() {
GraphiQL: true,
})

// serve HTTP
http.Handle("/graphql", h)
http.ListenAndServe(":8080", nil)
}
Expand Down

0 comments on commit b7e0284

Please sign in to comment.