File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change 1
1
// Package graphql provides a low level GraphQL client.
2
2
//
3
- // ctx := context.Background()
4
- // ctx = graphql.NewContext(ctx, "https://machinebox.io/graphql")
5
- // r := graphql.NewRequest(`
6
- // query ($key: String!) {
7
- // items (id:$key) {
8
- // field1
9
- // field2
10
- // field3
11
- // }
12
- // }
13
- // `)
14
- // r.Var("key", "value")
15
- // var respData ResponseStruct
16
- // if err := r.Run(ctx, &respData); err != nil {
17
- // log.Fatalln(err)
18
- // }
3
+ // ctx := context.Background()
4
+ // ctx = graphql.NewContext(ctx, "https://machinebox.io/graphql")
5
+ // r := graphql.NewRequest(`
6
+ // query ($key: String!) {
7
+ // items (id:$key) {
8
+ // field1
9
+ // field2
10
+ // field3
11
+ // }
12
+ // }
13
+ // `)
14
+ // r.Var("key", "value")
15
+ // var respData ResponseStruct
16
+ // if err := r.Run(ctx, &respData); err != nil {
17
+ // log.Fatalln(err)
18
+ // }
19
19
package graphql
You can’t perform that action at this time.
0 commit comments