New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unsupported destination, should be slice or struct #1505
Comments
You have not initialized the user struct. |
thx @ktsakas . I was tryed your suggest.But it not work. I think you are right, it is only struct or slices. |
Maybe this can be of help:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of Go are you using (
go version
)?golang 1.8.3
Which database and its version are you using?
mysql 5.6
What did you do?
Please provide a complete runnable program to reproduce your issue.
Like this demo.I want search some rows from mysql, and I don't want use struct. Beacuse, when I want get a join result, I need to create a new big struct or to payload struct. I think map is good in this.
Any guys can help me ?Thx
The text was updated successfully, but these errors were encountered: