GetStep 获取指定步骤
(index int)
| 149 | |
| 150 | // GetStep 获取指定步骤 |
| 151 | func (p *ExecutionPlan) GetStep(index int) *Step { |
| 152 | if index < 0 || index >= len(p.Steps) { |
| 153 | return nil |
| 154 | } |
| 155 | return &p.Steps[index] |
| 156 | } |
| 157 | |
| 158 | // GetCurrentStep 获取当前步骤 |
| 159 | func (p *ExecutionPlan) GetCurrentStep() *Step { |
no outgoing calls