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

Method keyAV

lists.go:68–74  ·  view source on GitHub ↗
(c Client)

Source from the content-addressed store, hash-verified

66}
67
68func (ln listNode) keyAV(c Client) map[string]dynamodb.AttributeValue {
69 avm := map[string]dynamodb.AttributeValue{}
70 avm[c.pk] = StringValue{ln.key}.ToAV()
71 avm[c.sk] = StringValue{ln.address}.ToAV()
72
73 return avm
74}
75
76func (ln listNode) next(side LSide) (address string) {
77 switch side {

Callers 5

updateBothSidesActionMethod · 0.95
updateSideActionMethod · 0.95
deleteActionMethod · 0.95
listGetByAddressMethod · 0.45
LSETMethod · 0.45

Calls 1

ToAVMethod · 0.65

Tested by

no test coverage detected