We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
👋🏻 I have an API that expects data to be sent like so:
services[]=A&services[]=B
How can I achieve this?
Currently the default behaviour appears to number each element within the slice.
I see there's a DelimitWith method but that doesn't quite achieve what I need (e.g. DelimitWith('|')):
DelimitWith
DelimitWith('|')
services|0=A&services|1=B
Is there a custom unmarshal method I can define that might help encode the data how I need it?
Thanks!
The text was updated successfully, but these errors were encountered:
just use https://github.com/google/go-querystring
Sorry, something went wrong.
That's exactly what I ended up doing 🙂
No branches or pull requests
👋🏻 I have an API that expects data to be sent like so:
How can I achieve this?
Currently the default behaviour appears to number each element within the slice.
I see there's a
DelimitWith
method but that doesn't quite achieve what I need (e.g.DelimitWith('|')
):Is there a custom unmarshal method I can define that might help encode the data how I need it?
Thanks!
The text was updated successfully, but these errors were encountered: