MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / StringMap

Function StringMap

IceFireDB-PubSub/test/proto/types.go:88–94  ·  view source on GitHub ↗

StringMap is a wrapper to get a map of (bulk)strings.

(args ...string)

Source from the content-addressed store, hash-verified

86
87// StringMap is a wrapper to get a map of (bulk)strings.
88func StringMap(args ...string) string {
89 var strings []string
90 for _, a := range args {
91 strings = append(strings, String(a))
92 }
93 return Map(strings...)
94}
95
96// Set assembles the args in a map. Args should be raw redis commands.
97// Example: Set(String("foo"), String("bar"))

Callers 2

TestTypesFunction · 0.70
TestParseFunction · 0.70

Calls 2

StringFunction · 0.70
MapFunction · 0.70

Tested by 2

TestTypesFunction · 0.56
TestParseFunction · 0.56