Skip to content
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

Fix error message when non-slice pointer passed #45

Closed
coopernurse opened this issue May 24, 2013 · 1 comment
Closed

Fix error message when non-slice pointer passed #45

coopernurse opened this issue May 24, 2013 · 1 comment

Comments

@coopernurse
Copy link
Contributor

From @sqs comment in #40

If you try to select into var foo []_MyType instead of a var foo *[]_MyType (e.g., you forget the & in the arg), then you get an error message that is no longer applicable with this new feature:
gorp: Cannot SELECT into non-struct type: []*MyType

@coopernurse
Copy link
Contributor Author

This was fixed in: fce0ecf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant