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

Method AddQuery

encoding/httpbinding/encode.go:115–117  ·  view source on GitHub ↗

AddQuery returns a QueryValue used for appending the given query key

(key string)

Source from the content-addressed store, hash-verified

113
114// AddQuery returns a QueryValue used for appending the given query key
115func (e *Encoder) AddQuery(key string) QueryValue {
116 return NewQueryValue(e.query, key, true)
117}
118
119// HasQuery returns if a query with the key specified exists with one or
120// more values.

Callers 11

TestEncoderFunction · 0.95
TestEncoderHasQueryFunction · 0.95
WriteStringMethod · 0.80
WriteBoolMethod · 0.80
WriteInt8Method · 0.80
WriteInt16Method · 0.80
WriteInt32Method · 0.80
WriteInt64Method · 0.80
WriteFloat32Method · 0.80
WriteFloat64Method · 0.80
WriteTimeMethod · 0.80

Calls 1

NewQueryValueFunction · 0.85

Tested by 2

TestEncoderFunction · 0.76
TestEncoderHasQueryFunction · 0.76