Skip to content
#

cookbook

Here are 568 public repositories matching this topic...

pafuent
pafuent commented Dec 15, 2020

Add documentation about how to bind multiple instances of the same query parameter to a slice.
Use this UT as a reference (if it is possible make a more real example than this 😉)

func TestBindSlices(t *testing.T) {
	e := New()
	req := httptest.NewRequest(GET, "/?str=foo&str=bar&str=foobar", nil)
	rec := httptest.NewRecorder()
	c := e.NewContext(req, rec)
	result := struct {
	
robotframework-cookbook

Improve this page

Add a description, image, and links to the cookbook topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the cookbook topic, visit your repo's landing page and select "manage topics."

Learn more