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

SetMultiValueFormData #33

Closed
mdreizin opened this issue Aug 26, 2016 · 2 comments
Closed

SetMultiValueFormData #33

mdreizin opened this issue Aug 26, 2016 · 2 comments
Assignees

Comments

@mdreizin
Copy link

Hello,

It would be nice to have SetMultiValueFormData which should work in the same way as SetMultiValueQueryParams but for FormData:

q, err := query.Values(struct {}{})

for p, v := range q {
    for _, pv := range v {
        client.FormData.Add(p, pv)
    }
}
q, err := query.Values(struct {}{})

client.SetMultiValueFormData(q)
@jeevatkm jeevatkm added this to the v0.9 milestone Aug 26, 2016
@jeevatkm jeevatkm self-assigned this Aug 26, 2016
@jeevatkm
Copy link
Member

Will take care, thanks!

@jeevatkm
Copy link
Member

Closing this issue, PR #38 will be merged.

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

No branches or pull requests

2 participants