Documentation ¶
Index ¶
- Variables
- func NewCustom531(settings *WorkoutPlanSettings) *custom531
- func NewStrongliftsPlan(settings *WorkoutPlanSettings) *strongliftsPlan
- func NewWendler531BBB(settings *WorkoutPlanSettings) *wendler531BBB
- func ParsePlates(strPlates string) ([]float32, error)
- type PlateCalcFunction
- type WorkoutPlan
- type WorkoutPlanSettings
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SQUAT = "Squat" DEADLIFT = "Deadlift" BENCH = "Bench" PRESS = "Press" )
Functions ¶
func NewCustom531 ¶
func NewCustom531(settings *WorkoutPlanSettings) *custom531
func NewStrongliftsPlan ¶
func NewStrongliftsPlan(settings *WorkoutPlanSettings) *strongliftsPlan
func NewWendler531BBB ¶
func NewWendler531BBB(settings *WorkoutPlanSettings) *wendler531BBB
func ParsePlates ¶
Types ¶
type PlateCalcFunction ¶
type WorkoutPlan ¶
type WorkoutPlanSettings ¶
type WorkoutPlanSettings struct { Plan string `yaml:"Plan"` Plates string `yaml:"Plates"` SquatRepMax int `yaml:"SquatRepMax"` DeadliftRepMax int `yaml:"DeadliftRepMax"` PressRepMax int `yaml:"PressRepMax"` BenchRepMax int `yaml:"BenchRepMax"` TrainingMaxPercent int `yaml:"TrainingMaxPercent"` Progression5s bool `yaml:"Progression5s"` PreferLessPlates bool `yaml:"PreferLessPlates"` PlateCalcFn PlateCalcFunction }
Click to show internal directories.
Click to hide internal directories.