Skip to content

Commit

Permalink
refactor(plan.go): remove unnecessary empty lines to improve code rea…
Browse files Browse the repository at this point in the history
…dability
  • Loading branch information
jandroav committed Dec 10, 2023
1 parent 8e00975 commit c3c6f51
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/plan/plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@ func CreatePlan(vtrainConfig structs.VtrainConfig, distance string, raceDate str
}

func printPaces(distance string, raceTime string) {

distanceInt, err := strconv.Atoi(distance)
if err != nil {
fmt.Println("Error:", err)
Expand All @@ -304,7 +303,6 @@ func printPaces(distance string, raceTime string) {
fmt.Println("Error:", err)
return
}

runningPaces := calculateTrainingPaces(vdot)
fmt.Println(color.Colorize(color.Green, "\nVDOT: "+strconv.Itoa(vdot)))
fmt.Println(color.Colorize(color.Yellow, "Ritmos de entrenamiento"))
Expand Down

0 comments on commit c3c6f51

Please sign in to comment.