Skip to content

SetResult cannot be non-pointer. #475

Closed Answered by moorereason
w570955342 asked this question in Q&A
Discussion options

You must be logged in to vote

If you don't pass a pointer, you're passing a copy of the value to SetResult, so I think you would need to use *Response.Result() to retrieve the result:

result = res.Result().(*[]AutoGenerated)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@w570955342
Comment options

Answer selected by w570955342
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants