Skip to content

Commit b7e0284

Browse files
authored
Merge pull request #41 from graphql-go/readme
README: update docs
2 parents 84c7c23 + d171e86 commit b7e0284

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

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

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-
95
### Usage
106

117
```go
@@ -17,8 +13,6 @@ import (
1713
)
1814

1915
func main() {
20-
21-
// define GraphQL schema using relay library helpers
2216
schema, _ := graphql.NewSchema(...)
2317

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

30-
// serve HTTP
3124
http.Handle("/graphql", h)
3225
http.ListenAndServe(":8080", nil)
3326
}

0 commit comments

Comments
 (0)