Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateProgramBody ¶
type CreateProgramBody struct { Sheet SheetBody `json:"sheet" validate:"required"` Workouts []WorkoutBody `json:"workouts" validate:"required"` }
type WorkoutBody ¶
type WorkoutBody struct { ExerciseID string `json:"exerciseId" validate:"required"` Type string `json:"type" validate:"required"` SequenceIndex int64 `json:"sequenceIndex" validate:"required"` Series string `json:"series" validate:"required"` Repetition string `json:"repetition" validate:"required"` Duration int64 `json:"duration"` Rest int64 `json:"rest" validate:"required"` Load string `json:"load" validate:"required"` Method string `json:"method" validate:"required"` }
Click to show internal directories.
Click to hide internal directories.