MCPcopy Create free account
hub / github.com/Cawlumm/lyftr / ProgramStore

Struct ProgramStore

backend/stores/program.go:11–11  ·  view source on GitHub ↗

ProgramStore owns all SQL for programs, program_exercises and program_sets.

Source from the content-addressed store, hash-verified

9
10// ProgramStore owns all SQL for programs, program_days, program_exercises and
11// program_sets.
12type ProgramStore struct{ db *sql.DB }
13
14func NewProgramStore(db *sql.DB) *ProgramStore { return &ProgramStore{db: db} }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected