Skip to content

Commit

Permalink
Fix minor mistake in code sample in README (#253)
Browse files Browse the repository at this point in the history
<!--
Thanks for your contribution! Check out the
[contributing
docs](https://github.com/Khan/genqlient/blob/main/docs/CONTRIBUTING.md)
for more on contributing to genqlient.
-->



I have:
- [x] Written a clear PR title and description (above)
- [x] Signed the [Khan Academy CLA](https://www.khanacademy.org/r/cla)
- [ ] Added tests covering my changes, if applicable
- [ ] Included a link to the issue fixed, if applicable
- [ ] Included documentation, for new features
- [ ] Added an entry to the changelog
  • Loading branch information
omarkohl authored Feb 14, 2023
1 parent 596c33f commit a42359b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var resp struct {
}
}
client.Query(ctx, query, &resp, variables)
fmt.Println(query.Me.Name)
fmt.Println(resp.Me.Name)
// Output: Luke Skywalker
```

Expand Down

0 comments on commit a42359b

Please sign in to comment.