From a42359b4358bc1d4180ffeb6d17a4d4992c32f72 Mon Sep 17 00:00:00 2001 From: Omar Kohl Date: Tue, 14 Feb 2023 18:10:55 +0100 Subject: [PATCH] Fix minor mistake in code sample in README (#253) 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 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3ea90f3..e1e9fa3 100644 --- a/README.md +++ b/README.md @@ -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 ```