19 lines
467 B
Go
19 lines
467 B
Go
package usecase
|
|
|
|
import (
|
|
"haixun-backend/internal/model/job/domain/entity"
|
|
"haixun-backend/internal/model/job/resume"
|
|
)
|
|
|
|
func prepareStepsForRetry(steps []entity.StepProgress) []entity.StepProgress {
|
|
return resume.PrepareStepsForRetry(steps)
|
|
}
|
|
|
|
func firstResumablePhase(steps []entity.StepProgress) string {
|
|
return resume.FirstResumablePhase(steps)
|
|
}
|
|
|
|
func calcProgressPercentage(steps []entity.StepProgress) int {
|
|
return resume.CalcProgressPercentage(steps)
|
|
}
|