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

Function parseKey

redimo.go:200–205  ·  view source on GitHub ↗
(avm map[string]dynamodb.AttributeValue, c Client)

Source from the content-addressed store, hash-verified

198}
199
200func parseKey(avm map[string]dynamodb.AttributeValue, c Client) keyDef {
201 return keyDef{
202 pk: aws.StringValue(avm[c.pk].S),
203 sk: aws.StringValue(avm[c.sk].S),
204 }
205}
206
207func parseItem(avm map[string]dynamodb.AttributeValue, c Client) (item itemDef) {
208 item.keyDef = parseKey(avm, c)

Callers 2

XTRIMMethod · 0.85
parseItemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected