Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB interface { SkippedWeeks() ([]stronk.SkippedWeek, error) SkipWeek(note string, week, iter int) error SetTrainingMaxes(press, squat, bench, deadlift stronk.Weight) error TrainingMaxes() ([]*stronk.TrainingMax, error) SetSmallestDenom(small stronk.Weight) error SmallestDenom() (stronk.Weight, error) RecordLift(ex stronk.Exercise, st stronk.SetType, weight stronk.Weight, set int, reps int, note string, day, week, iter int, toFailure bool) (stronk.LiftID, error) Lift(id stronk.LiftID) (*stronk.Lift, error) EditLift(id stronk.LiftID, note string, reps int) error RecentLifts() ([]*stronk.Lift, error) ComparableLifts(ex stronk.Exercise, weight stronk.Weight) (*stronk.ComparableLifts, error) RecentFailureSets() ([]*stronk.Lift, error) }
Click to show internal directories.
Click to hide internal directories.