Loading to slice #81
Answered
by
nikitawootten
vuongtendo
asked this question in
Q&A
-
How would I load into a slice in gogm? Seems to only work for gogm structs only.
|
Beta Was this translation helpful? Give feedback.
Answered by
nikitawootten
Dec 17, 2021
Replies: 1 comment
-
Hi @vuongtendo, you should pass the address of your pointer into
Out of interest, what is the result of the code you wrote? I can work on making that clearer through docs and possibly a clearer error message. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
nikitawootten
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @vuongtendo, you should pass the address of your pointer into
sess.Query()
, like so:Out of interest, what is the result of the code you wrote? I can work on making that clearer through docs and possibly a clearer error message.