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

Method Member

encoding/xml/array.go:45–49  ·  view source on GitHub ↗

Member adds a new member to the XML array. It returns a Value encoder.

()

Source from the content-addressed store, hash-verified

43// Member adds a new member to the XML array.
44// It returns a Value encoder.
45func (a *Array) Member() Value {
46 v := newValue(a.w, a.scratch, a.memberStartElement)
47 v.isFlattened = a.isFlattened
48 return v
49}

Callers 10

TestWrappedArrayFunction · 0.80
TestFlattenedArrayFunction · 0.80
TestEncodeListStringFunction · 0.80
TestEncodeListFlattenFunction · 0.80
TestEncodeListNamedFunction · 0.80
TestEncodeListShapeFunction · 0.80
TestEncodeListNamedShapeFunction · 0.80
ExampleEncoderFunction · 0.80

Calls 1

newValueFunction · 0.70

Tested by 10

TestWrappedArrayFunction · 0.64
TestFlattenedArrayFunction · 0.64
TestEncodeListStringFunction · 0.64
TestEncodeListFlattenFunction · 0.64
TestEncodeListNamedFunction · 0.64
TestEncodeListShapeFunction · 0.64
TestEncodeListNamedShapeFunction · 0.64
ExampleEncoderFunction · 0.64