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

Method toAV

sets.go:16–21  ·  view source on GitHub ↗
(c Client)

Source from the content-addressed store, hash-verified

14}
15
16func (sm setMember) toAV(c Client) map[string]dynamodb.AttributeValue {
17 av := sm.keyAV(c)
18 av[c.skN] = IntValue{rand.Int63()}.ToAV()
19
20 return av
21}
22
23func (sm setMember) keyAV(c Client) map[string]dynamodb.AttributeValue {
24 av := make(map[string]dynamodb.AttributeValue)

Callers 2

SADDMethod · 0.45
SMOVEMethod · 0.45

Calls 2

keyAVMethod · 0.95
ToAVMethod · 0.65

Tested by

no test coverage detected