(ctx context.Context, args ...interface{})
| 1533 | var _ Cmder = (*BoolCmd)(nil) |
| 1534 | |
| 1535 | func NewBoolCmd(ctx context.Context, args ...interface{}) *BoolCmd { |
| 1536 | return &BoolCmd{ |
| 1537 | baseCmd: baseCmd{ |
| 1538 | ctx: ctx, |
| 1539 | args: args, |
| 1540 | cmdType: CmdTypeBool, |
| 1541 | }, |
| 1542 | } |
| 1543 | } |
| 1544 | |
| 1545 | func (cmd *BoolCmd) SetVal(val bool) { |
| 1546 | cmd.val = val |
no outgoing calls
no test coverage detected