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

Function zScoreFromAV

sorted_sets.go:76–79  ·  view source on GitHub ↗
(av dynamodb.AttributeValue)

Source from the content-addressed store, hash-verified

74}
75
76func zScoreFromAV(av dynamodb.AttributeValue) float64 {
77 f, _ := strconv.ParseFloat(aws.StringValue(av.N), 64)
78 return f
79}
80
81func (c Client) ZADD(key string, membersWithScores map[string]float64, flags Flags) (addedMembers []string, err error) {
82 for member, score := range membersWithScores {

Callers 3

ZINCRBYMethod · 0.85
zGeneralRangeMethod · 0.85
ZSCOREMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected