machinebox / graphql

Simple low-level GraphQL HTTP client for Go
https://blog.machinebox.io/a-graphql-client-library-for-go-5bffd0455878
Apache License 2.0
933 stars 218 forks source link

defined and explained ctx context in README example #9

Closed jsonkao closed 6 years ago

jsonkao commented 6 years ago

There is a Context struct passed into Client.Run that is unexplained/undefined in the README example. This PR imports context and leaves a comment for those unfamiliar with ctx in Go.