MCPcopy Create free account
hub / github.com/dbProjectRED/redimo.go / lParseNode

Function lParseNode

lists.go:213–221  ·  view source on GitHub ↗
(avm map[string]dynamodb.AttributeValue, c Client)

Source from the content-addressed store, hash-verified

211}
212
213func lParseNode(avm map[string]dynamodb.AttributeValue, c Client) (ln listNode) {
214 ln.key = aws.StringValue(avm[c.pk].S)
215 ln.address = aws.StringValue(avm[c.sk].S)
216 ln.left = aws.StringValue(avm[skLeft].S)
217 ln.right = aws.StringValue(avm[skRight].S)
218 ln.value = ReturnValue{avm[vk]}
219
220 return
221}
222
223func (c Client) LINDEX(key string, index int64) (element ReturnValue, err error) {
224 node, _, err := c.listNodeAtIndex(key, index)

Callers 3

listFindEndMethod · 0.85
listGetByAddressMethod · 0.85
LRANGEMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected