diff --git a/README.md b/README.md index 3ea90f3b..e1e9fa34 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 ```