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 arguments passing (fix #16) #17

Merged
merged 1 commit into from
Oct 12, 2015
Merged

Fix arguments passing (fix #16) #17

merged 1 commit into from
Oct 12, 2015

Conversation

moul
Copy link
Owner

@moul moul commented Oct 12, 2015

No description provided.


for key, value := range query {
querySingle[key] = value[0]
var querySingle querySingleType = querySingleType{

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should omit type querySingleType from declaration of var querySingle; it will be inferred from the right-hand side

@QuentinPerez
Copy link
Contributor

LGTM

moul added a commit that referenced this pull request Oct 12, 2015
Fix arguments passing (fix #16)
@moul moul merged commit ba7cead into master Oct 12, 2015
@moul moul deleted the fix-16 branch October 12, 2015 16:24
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

Successfully merging this pull request may close these issues.

3 participants