MCPcopy Create free account
hub / github.com/aws/smithy-go / HasQuery

Method HasQuery

encoding/httpbinding/encode.go:121–123  ·  view source on GitHub ↗

HasQuery returns if a query with the key specified exists with one or more values.

(key string)

Source from the content-addressed store, hash-verified

119// HasQuery returns if a query with the key specified exists with one or
120// more values.
121func (e *Encoder) HasQuery(key string) bool {
122 return len(e.query.Get(key)) != 0
123}

Callers 1

TestEncoderHasQueryFunction · 0.95

Calls 1

GetMethod · 0.65

Tested by 1

TestEncoderHasQueryFunction · 0.76