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

Provide Get for slices of non-structs. #34

Closed
kisielk opened this issue Dec 10, 2013 · 1 comment
Closed

Provide Get for slices of non-structs. #34

kisielk opened this issue Dec 10, 2013 · 1 comment

Comments

@kisielk
Copy link
Contributor

kisielk commented Dec 10, 2013

eg: []int, etc. Useful for getting a list of IDs or checking for membership in a table.

@jmoiron
Copy link
Owner

jmoiron commented Aug 17, 2014

Obviously, StructScan needn't know about this too much given the name, but I think it's possible to do this both for Select() and Get(). Going to try cooking that up this afternoon.

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

No branches or pull requests

2 participants