We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 84c7c23 + d171e86 commit b7e0284Copy full SHA for b7e0284
README.md
@@ -2,10 +2,6 @@
2
3
Golang HTTP.Handler for [graphl-go](https://github.com/graphql-go/graphql)
4
5
-### Notes:
6
-This is based on alpha version of `graphql-go` and `graphql-relay-go`.
7
-Be sure to watch both repositories for latest changes.
8
-
9
### Usage
10
11
```go
@@ -17,8 +13,6 @@ import (
17
13
)
18
14
19
15
func main() {
20
21
- // define GraphQL schema using relay library helpers
22
16
schema, _ := graphql.NewSchema(...)
23
24
h := handler.New(&handler.Config{
@@ -27,7 +21,6 @@ func main() {
27
GraphiQL: true,
28
})
29
30
- // serve HTTP
31
http.Handle("/graphql", h)
32
25
http.ListenAndServe(":8080", nil)
33
26
}
0 commit comments