MCPcopy
hub / github.com/redis/go-redis / NewSliceCmd

Function NewSliceCmd

command.go:1000–1008  ·  view source on GitHub ↗
(ctx context.Context, args ...interface{})

Source from the content-addressed store, hash-verified

998var _ Cmder = (*SliceCmd)(nil)
999
1000func NewSliceCmd(ctx context.Context, args ...interface{}) *SliceCmd {
1001 return &SliceCmd{
1002 baseCmd: baseCmd{
1003 ctx: ctx,
1004 args: args,
1005 cmdType: CmdTypeSlice,
1006 },
1007 }
1008}
1009
1010func (cmd *SliceCmd) SetVal(val []interface{}) {
1011 cmd.val = val

Callers 14

ARGetRangeMethod · 0.85
ARMGetMethod · 0.85
ARLastItemsMethod · 0.85
_subscribeMethod · 0.85
wrapMultiExecFunction · 0.85
VEmbMethod · 0.85
HMGetMethod · 0.85
SortInterfacesMethod · 0.85
XAckDelMethod · 0.85
XDelExMethod · 0.85
createCommandByTypeFunction · 0.85
MGetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected