Documentation
¶
Index ¶
- type LaboratoriesPostgresRepository
- func (repository *LaboratoriesPostgresRepository) CreateMarkdownBlock(laboratoryUUID string) (blockUUID string, err error)
- func (repository *LaboratoriesPostgresRepository) CreateTestBlock(dto *dtos.CreateTestBlockDTO) (blockUUID string, err error)
- func (repository *LaboratoriesPostgresRepository) GetLaboratoryByUUID(uuid string) (laboratory *entities.Laboratory, err error)
- func (repository *LaboratoriesPostgresRepository) GetLaboratoryInformationByUUID(uuid string) (laboratory *dtos.LaboratoryDetailsDTO, err error)
- func (repository *LaboratoriesPostgresRepository) GetStudentsProgress(laboratoryUUID string) (progress []*dtos.LaboratoryStudentProgressDTO, err error)
- func (repository *LaboratoriesPostgresRepository) GetTotalTestBlocks(laboratoryUUID string) (total int, err error)
- func (repository *LaboratoriesPostgresRepository) SaveLaboratory(dto *dtos.CreateLaboratoryDTO) (laboratory *entities.Laboratory, err error)
- func (repository *LaboratoriesPostgresRepository) UpdateLaboratory(dto *dtos.UpdateLaboratoryDTO) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LaboratoriesPostgresRepository ¶
func GetLaboratoriesPostgresRepositoryInstance ¶
func GetLaboratoriesPostgresRepositoryInstance() *LaboratoriesPostgresRepository
func (*LaboratoriesPostgresRepository) CreateMarkdownBlock ¶ added in v0.32.0
func (repository *LaboratoriesPostgresRepository) CreateMarkdownBlock(laboratoryUUID string) (blockUUID string, err error)
func (*LaboratoriesPostgresRepository) CreateTestBlock ¶ added in v0.36.0
func (repository *LaboratoriesPostgresRepository) CreateTestBlock(dto *dtos.CreateTestBlockDTO) (blockUUID string, err error)
func (*LaboratoriesPostgresRepository) GetLaboratoryByUUID ¶
func (repository *LaboratoriesPostgresRepository) GetLaboratoryByUUID(uuid string) (laboratory *entities.Laboratory, err error)
func (*LaboratoriesPostgresRepository) GetLaboratoryInformationByUUID ¶ added in v0.45.0
func (repository *LaboratoriesPostgresRepository) GetLaboratoryInformationByUUID(uuid string) (laboratory *dtos.LaboratoryDetailsDTO, err error)
func (*LaboratoriesPostgresRepository) GetStudentsProgress ¶ added in v0.44.0
func (repository *LaboratoriesPostgresRepository) GetStudentsProgress(laboratoryUUID string) (progress []*dtos.LaboratoryStudentProgressDTO, err error)
func (*LaboratoriesPostgresRepository) GetTotalTestBlocks ¶ added in v0.44.0
func (repository *LaboratoriesPostgresRepository) GetTotalTestBlocks(laboratoryUUID string) (total int, err error)
func (*LaboratoriesPostgresRepository) SaveLaboratory ¶
func (repository *LaboratoriesPostgresRepository) SaveLaboratory(dto *dtos.CreateLaboratoryDTO) (laboratory *entities.Laboratory, err error)
func (*LaboratoriesPostgresRepository) UpdateLaboratory ¶ added in v0.30.0
func (repository *LaboratoriesPostgresRepository) UpdateLaboratory(dto *dtos.UpdateLaboratoryDTO) error
Click to show internal directories.
Click to hide internal directories.