From ca0c692ebc473d68dcc76ea29fdc054308b1f728 Mon Sep 17 00:00:00 2001 From: jandroav Date: Sun, 4 Feb 2024 18:19:30 +0100 Subject: [PATCH] update readme --- pkg/common/config.yaml | 22 +++++++++++----------- pkg/plan/plan.go | 20 ++++++++++---------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/pkg/common/config.yaml b/pkg/common/config.yaml index b3b9ea1..0fb7497 100644 --- a/pkg/common/config.yaml +++ b/pkg/common/config.yaml @@ -11,7 +11,7 @@ planConfig: km-pre: km-42: 160k km-21: 81k - km-10: 70k + km-10: 71k s2: c1-42: 3S + 6U + 16S + 2 X 3U C/DESC 2 MIN + 3S (34k) c2-42: 3S + 6 X 1I + 4 X 400 R C/3 MIN S + 3S (14k) @@ -24,7 +24,7 @@ planConfig: km-pre: km-42: 148k km-21: 75k - km-10: 70k + km-10: 71k s3: c1-42: 32S (32k) c2-42: 20KM PROG -> U 5 KMS + 3S (23k) @@ -37,7 +37,7 @@ planConfig: km-pre: km-42: 155k km-21: 76k - km-10: 73k + km-10: 74k s4: c1-42: 10S + 10M + 2U + 10M + 2U + 3S (37k) c2-42: 3S + 8U + 5 MIN S + 6U + 4 MIN S + 5U + 3 MIN S + 2U + 3S (33k) @@ -50,7 +50,7 @@ planConfig: km-pre: km-42: 170k km-21: 83k - km-10: 75k + km-10: 76k s5: c1-42: 3S + 6U + 16S + 6U + 3S (34k) c2-42: 3S + 3 X 2I C/4 MIN S + 3 X 1I C/2 MIN S + 3S (15k) @@ -63,7 +63,7 @@ planConfig: km-pre: km-42: 149k km-21: 79k - km-10: 73k + km-10: 74k s6: c1-42: 35S (35k) c2-42: 13S + 13M + 2U + 6M + 2U + 2M (38k) @@ -76,7 +76,7 @@ planConfig: km-pre: km-42: 173k km-21: 82k - km-10: 71k + km-10: 72k s7: c1-42: 16KM PROG -> U 6 KMS + 3S (19k) c2-42: 3S + 8U + 5MIN S + 6U + 4 MIN S + 5U + 3 MIN S + 3U + 2 MIN S + 2U + 3S (33k) @@ -88,7 +88,7 @@ planConfig: pre2: 4S + 8U + 4S km-42: 152k km-21: 75k - km-10: 70k + km-10: 71k s8: c1-42: 3S + 6U + 16S + 2 X 3U C/DESC 2 MIN + 3S (34k) c2-42: 3S + 6 X 1I C/2 MIN S + 4 X 400 R C/400 S + 3 MIN S (12k) @@ -101,7 +101,7 @@ planConfig: km-pre: km-42: 146k km-21: 75k - km-10: 70k + km-10: 71k s9: c1-42: 35S (35k) c2-42: 3S + 3 X 2U C/1 MIN S + 3 X 1I C/2 MIN S + 3 X 400 R C/400 S + 3S (16k) @@ -114,7 +114,7 @@ planConfig: km-pre: km-42: 151k km-21: 79k - km-10: 68k + km-10: 69k s10: c1-42: 10S + 10M + 2U + 10M + 2U + 3S (37k) c2-42: 3S + 4 X 3U C/2 MIN S + 3S (18k) @@ -127,7 +127,7 @@ planConfig: km-pre: km-42: 155k km-21: 81k - km-10: 68k + km-10: 69k s11: c1-42: 3S + 3 X 3U C/2 MIN S + 16E (31k) c2-42: 3S + 3 X 3U C/2 MIN S + 3S (17k) @@ -140,7 +140,7 @@ planConfig: km-pre: km-42: 148k km-21: 77k - km-10: 68k + km-10: 69k s12: c1-42: 3S + 4 X 1.2 U C/2 MIN S + 3S (15k) c2-42: 7S (7k) diff --git a/pkg/plan/plan.go b/pkg/plan/plan.go index 24f184d..7ce12f4 100644 --- a/pkg/plan/plan.go +++ b/pkg/plan/plan.go @@ -221,7 +221,7 @@ func CreatePlan(vtrainConfig structs.VtrainConfig, distance string, raceDate str // Print or save the training sessions and scheduled dates fmt.Println(color.Colorize(color.Yellow, "\nSemana "+strconv.Itoa(week))) if week != 12 { - fmt.Printf("\tLunes\t\t(%s): 20S\n", startDate.AddDate(0, 0, (week-1)*7+1).Format("2006-01-02")) + fmt.Printf("\tLunes\t\t(%s): 20S + FUERZA\n", startDate.AddDate(0, 0, (week-1)*7+1).Format("2006-01-02")) } else { fmt.Printf("\tLunes\t\t(%s): 10S\n", startDate.AddDate(0, 0, (week-1)*7+1).Format("2006-01-02")) } @@ -237,7 +237,7 @@ func CreatePlan(vtrainConfig structs.VtrainConfig, distance string, raceDate str fmt.Printf("\tJueves\t\t(%s): 10S\n", startDate.AddDate(0, 0, (week-1)*7+4).Format("2006-01-02")) } if week != 12 { - fmt.Printf("\tViernes\t\t(%s): 20S\n", startDate.AddDate(0, 0, (week-1)*7+5).Format("2006-01-02")) + fmt.Printf("\tViernes\t\t(%s): 20S + FUERZA\n", startDate.AddDate(0, 0, (week-1)*7+5).Format("2006-01-02")) } else { fmt.Println(color.Colorize(color.Blue, "\tViernes\t\t("+startDate.AddDate(0, 0, (week-1)*7+5).Format("2006-01-02")+"): "+"Descanso")) } @@ -262,7 +262,7 @@ func CreatePlan(vtrainConfig structs.VtrainConfig, distance string, raceDate str // Print or save the training sessions and scheduled dates fmt.Println(color.Colorize(color.Yellow, "\nSemana "+strconv.Itoa(week))) if week != 12 { - fmt.Printf("\tLunes\t\t(%s): 10S\n", startDate.AddDate(0, 0, (week-1)*7+1).Format("2006-01-02")) + fmt.Printf("\tLunes\t\t(%s): 10S + FUERZA\n", startDate.AddDate(0, 0, (week-1)*7+1).Format("2006-01-02")) } else { fmt.Printf("\tLunes\t\t(%s): 7S\n", startDate.AddDate(0, 0, (week-1)*7+1).Format("2006-01-02")) } @@ -278,7 +278,7 @@ func CreatePlan(vtrainConfig structs.VtrainConfig, distance string, raceDate str fmt.Println(color.Colorize(color.Blue, "\tJueves\t\t("+startDate.AddDate(0, 0, (week-1)*7+4).Format("2006-01-02")+"): "+"Descanso")) } if week != 12 { - fmt.Printf("\tViernes\t\t(%s): 10S\n", startDate.AddDate(0, 0, (week-1)*7+5).Format("2006-01-02")) + fmt.Printf("\tViernes\t\t(%s): 10S + FUERZA\n", startDate.AddDate(0, 0, (week-1)*7+5).Format("2006-01-02")) } else { fmt.Println(color.Colorize(color.Blue, "\tViernes\t\t("+startDate.AddDate(0, 0, (week-1)*7+5).Format("2006-01-02")+"): "+"Descanso")) } @@ -303,7 +303,7 @@ func CreatePlan(vtrainConfig structs.VtrainConfig, distance string, raceDate str // Print or save the training sessions and scheduled dates fmt.Println(color.Colorize(color.Yellow, "\nSemana "+strconv.Itoa(week))) if week != 12 { - fmt.Printf("\tLunes\t\t(%s): 10S\n", startDate.AddDate(0, 0, (week-1)*7+1).Format("2006-01-02")) + fmt.Printf("\tLunes\t\t(%s): 10S + FUERZA\n", startDate.AddDate(0, 0, (week-1)*7+1).Format("2006-01-02")) } else { fmt.Printf("\tLunes\t\t(%s): 7S\n", startDate.AddDate(0, 0, (week-1)*7+1).Format("2006-01-02")) } @@ -319,7 +319,7 @@ func CreatePlan(vtrainConfig structs.VtrainConfig, distance string, raceDate str fmt.Println(color.Colorize(color.Blue, "\tJueves\t\t("+startDate.AddDate(0, 0, (week-1)*7+4).Format("2006-01-02")+"): "+"Descanso")) } if week != 12 { - fmt.Printf("\tViernes\t\t(%s): 10S\n", startDate.AddDate(0, 0, (week-1)*7+5).Format("2006-01-02")) + fmt.Printf("\tViernes\t\t(%s): 10S + FUERZA\n", startDate.AddDate(0, 0, (week-1)*7+5).Format("2006-01-02")) } else { fmt.Println(color.Colorize(color.Blue, "\tViernes\t\t("+startDate.AddDate(0, 0, (week-1)*7+5).Format("2006-01-02")+"): "+"Descanso")) } @@ -344,12 +344,12 @@ func CreatePlan(vtrainConfig structs.VtrainConfig, distance string, raceDate str // Print or save the training sessions and scheduled dates fmt.Println(color.Colorize(color.Yellow, "\nSemana "+strconv.Itoa(week))) if week != 12 { - fmt.Printf("\tLunes\t\t(%s): 10S\n", startDate.AddDate(0, 0, (week-1)*7+1).Format("2006-01-02")) + fmt.Printf("\tLunes\t\t(%s): 5S + 10 A/D + FUERZA + 3S\n", startDate.AddDate(0, 0, (week-1)*7+1).Format("2006-01-02")) } else { - fmt.Printf("\tLunes\t\t(%s): 7S\n", startDate.AddDate(0, 0, (week-1)*7+1).Format("2006-01-02")) + fmt.Printf("\tLunes\t\t(%s): 10S\n", startDate.AddDate(0, 0, (week-1)*7+1).Format("2006-01-02")) } if week != 12 { - fmt.Printf("\tMartes\t\t(%s): 10S\n", startDate.AddDate(0, 0, (week-1)*7+2).Format("2006-01-02")) + fmt.Printf("\tMartes\t\t(%s): 12S + 8 A/D\n", startDate.AddDate(0, 0, (week-1)*7+2).Format("2006-01-02")) } else { fmt.Printf("\tMartes\t\t(%s): 7S\n", startDate.AddDate(0, 0, (week-1)*7+2).Format("2006-01-02")) } @@ -360,7 +360,7 @@ func CreatePlan(vtrainConfig structs.VtrainConfig, distance string, raceDate str fmt.Println(color.Colorize(color.Blue, "\tJueves\t\t("+startDate.AddDate(0, 0, (week-1)*7+4).Format("2006-01-02")+"): "+"Descanso")) } if week != 12 { - fmt.Printf("\tViernes\t\t(%s): 10S\n", startDate.AddDate(0, 0, (week-1)*7+5).Format("2006-01-02")) + fmt.Printf("\tViernes\t\t(%s): 5S + 10 A/D + FUERZA + 3S\n", startDate.AddDate(0, 0, (week-1)*7+5).Format("2006-01-02")) } else { fmt.Println(color.Colorize(color.Blue, "\tViernes\t\t("+startDate.AddDate(0, 0, (week-1)*7+5).Format("2006-01-02")+"): "+"Descanso")) }