MCPcopy Create free account
hub / github.com/danielmesquitta/flight-api / WithQueryParams

Function WithQueryParams

test/integration/server/server.go:148–152  ·  view source on GitHub ↗

WithQueryParams sets the query parameters for the request

(queryParams map[string]string)

Source from the content-addressed store, hash-verified

146
147// WithQueryParams sets the query parameters for the request
148func WithQueryParams(queryParams map[string]string) RequestOption {
149 return func(o *requestOptions) {
150 o.queryParams = queryParams
151 }
152}
153
154func (ta *TestApp) MakeRequest(
155 method string,

Callers 1

TestSearchFlightsFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestSearchFlightsFunction · 0.68