Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jandroav committed Feb 4, 2024
1 parent 7109138 commit ca0c692
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
22 changes: 11 additions & 11 deletions pkg/common/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand Down
20 changes: 10 additions & 10 deletions pkg/plan/plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
}
Expand All @@ -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"))
}
Expand All @@ -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"))
}
Expand All @@ -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"))
}
Expand All @@ -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"))
}
Expand All @@ -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"))
}
Expand All @@ -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"))
}
Expand All @@ -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"))
}
Expand Down

0 comments on commit ca0c692

Please sign in to comment.