(ctx context.Context, args ...interface{})
| 1123 | var _ Cmder = (*IntCmd)(nil) |
| 1124 | |
| 1125 | func NewIntCmd(ctx context.Context, args ...interface{}) *IntCmd { |
| 1126 | return &IntCmd{ |
| 1127 | baseCmd: baseCmd{ |
| 1128 | ctx: ctx, |
| 1129 | args: args, |
| 1130 | cmdType: CmdTypeInt, |
| 1131 | }, |
| 1132 | } |
| 1133 | } |
| 1134 | |
| 1135 | func (cmd *IntCmd) SetVal(val int64) { |
| 1136 | cmd.val = val |
no outgoing calls
no test coverage detected