(ctx context.Context, args ...interface{})
| 998 | var _ Cmder = (*SliceCmd)(nil) |
| 999 | |
| 1000 | func 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 | |
| 1010 | func (cmd *SliceCmd) SetVal(val []interface{}) { |
| 1011 | cmd.val = val |
no outgoing calls
no test coverage detected