From ec3367aa20d97165aabd1456885533159a772250 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20Ram=C3=B3n?= Date: Tue, 3 Nov 2015 02:31:42 -0300 Subject: [PATCH] clean up --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 917fd923..586d2349 100644 --- a/README.md +++ b/README.md @@ -9,12 +9,9 @@ Installation go get github.com/chris-ramon/graphql ``` -Example -A simple example that defines a schema with `hello` field, it’s resolve function -returns a string `world` then a graphql query is perform against that schema -the result is printed as JSON. - -For more complex examples see [examples](https://github.com/chris-ramon/graphql/tree/master/examples/) directory and [graphql_test.go](https://github.com/chris-ramon/graphql/blob/master/graphql_test.go). +A simple example that defines a schema with a `hello` string field +it’s resolve function returns a string `world` then a graphql query +is perform against that schema the result is printed as JSON: ```go package main @@ -62,6 +59,8 @@ func main() { } ``` +For more complex examples see [examples](https://github.com/chris-ramon/graphql/tree/master/examples/) directory and [graphql tests](https://github.com/chris-ramon/graphql/blob/master/graphql_test.go). + ### Origin and Current Direction This project was originally a port of [v0.4.3](https://github.com/graphql/graphql-js/releases/tag/v0.4.3) of [graphql-js](https://github.com/graphql/graphql-js) (excluding the Validator), which was based on the July 2015 GraphQL specification. `graphql` is currently several versions behind `graphql-js`, however future efforts will be guided directly by the [latest formal GraphQL specification](https://github.com/facebook/graphql/releases) (currently: [October 2015](https://github.com/facebook/graphql/releases/tag/October2015)).