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.45
TestFlattenedArrayFunction · 0.45
TestEncodeListStringFunction · 0.45
TestEncodeListFlattenFunction · 0.45
TestEncodeListNamedFunction · 0.45
TestEncodeListShapeFunction · 0.45
TestEncodeListNamedShapeFunction · 0.45
ExampleEncoderFunction · 0.45

Calls 1

newValueFunction · 0.70

Tested by 10

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