Skip to content

Commit 0b6016c

Browse files
committed
made context clearer
1 parent 314cbdf commit 0b6016c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ Low-level GraphQL client for Go.
77
* Build and execute any kind of GraphQL request
88

99
```go
10-
ctx := graphql.NewContext(context.Background(), "https://machinebox.io/graphql")
10+
ctx := context.Background()
11+
ctx := graphql.NewContext(ctx, "https://machinebox.io/graphql")
1112
r := graphql.NewRequest(`
1213
query ($key: String!) {
1314
items (id:$key) {

0 commit comments

Comments
 (0)