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

Support comma separated slices #2

Open
Southclaws opened this issue Oct 21, 2018 · 0 comments
Open

Support comma separated slices #2

Southclaws opened this issue Oct 21, 2018 · 0 comments

Comments

@Southclaws
Copy link

I started using this for a PHP endpoint that only accepts "arrays" as comma-separated items instead of multiple instances of the same parameter.

So currently, given a type T, []string{"a", "b"} turns into: ?t=a&t=b.

But it would be great to have the option of turning this into: ?t=a,b.

I can submit a PR for this as I plan to fork and implement this for my own usage anyway.

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