-
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
It would be great if we could pass arrays into the query parameters, something like:
?var[]=string1&var[]=string2&var[]=string3
So we can then do:
<ul>
{{ range $key, $value := .var }}
<li>{{ $value }}</li>
{{ end }}
</ul>
I'm looking at reducing the amount of duplicated elements in the templates, so looping over a range would be really helpful in this case.
Please note: I'm a complete novice at golang, so sorry If the above example wouldn't work.
Metadata
Metadata
Assignees
Labels
No labels