refactor: move boomer to hrp/pkg/boomer

This commit is contained in:
lilong.129
2025-02-05 20:38:46 +08:00
parent b731669da2
commit d36f0c9aa0
26 changed files with 189 additions and 183 deletions

View File

@@ -21,7 +21,7 @@ func (s *StepFunction) Name() string {
}
func (s *StepFunction) Type() StepType {
return stepTypeFunction
return StepTypeFunction
}
func (s *StepFunction) Config() *StepConfig {
@@ -46,13 +46,13 @@ func runStepFunction(r *SessionRunner, step IStep) (stepResult *StepResult, err
log.Info().
Str("name", step.Name()).
Str("type", string(stepTypeFunction)).
Str("type", string(StepTypeFunction)).
Msg("run function")
start := time.Now()
stepResult = &StepResult{
Name: step.Name(),
StepType: stepTypeFunction,
StepType: StepTypeFunction,
Success: false,
ContentSize: 0,
StartTime: start.Unix(),