Documentation ¶
Index ¶
- type LaboratoriesUseCases
- func (useCases *LaboratoriesUseCases) CreateLaboratory(dto *dtos.CreateLaboratoryDTO) (laboratory *entities.Laboratory, err error)
- func (useCases *LaboratoriesUseCases) CreateMarkdownBlock(dto *dtos.CreateMarkdownBlockDTO) (blockUUID string, err error)
- func (useCases *LaboratoriesUseCases) CreateTestBlock(dto *dtos.CreateTestBlockDTO) (blockUUID string, err error)
- func (useCases *LaboratoriesUseCases) GetLaboratory(dto *dtos.GetLaboratoryDTO) (laboratory *entities.Laboratory, err error)
- func (useCases *LaboratoriesUseCases) UpdateLaboratory(dto *dtos.UpdateLaboratoryDTO) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LaboratoriesUseCases ¶
type LaboratoriesUseCases struct { CoursesRepository coursesDefinitions.CoursesRepository LaboratoriesRepository definitions.LaboratoriesRepository RubricsRepository rubricsDefinitions.RubricsRepository LanguagesRepository languagesDefinitions.LanguagesRepository BlocksRepository blocksDefinitions.BlockRepository }
func (*LaboratoriesUseCases) CreateLaboratory ¶
func (useCases *LaboratoriesUseCases) CreateLaboratory(dto *dtos.CreateLaboratoryDTO) (laboratory *entities.Laboratory, err error)
func (*LaboratoriesUseCases) CreateMarkdownBlock ¶ added in v0.32.0
func (useCases *LaboratoriesUseCases) CreateMarkdownBlock(dto *dtos.CreateMarkdownBlockDTO) (blockUUID string, err error)
func (*LaboratoriesUseCases) CreateTestBlock ¶ added in v0.36.0
func (useCases *LaboratoriesUseCases) CreateTestBlock(dto *dtos.CreateTestBlockDTO) (blockUUID string, err error)
func (*LaboratoriesUseCases) GetLaboratory ¶ added in v0.31.0
func (useCases *LaboratoriesUseCases) GetLaboratory(dto *dtos.GetLaboratoryDTO) (laboratory *entities.Laboratory, err error)
func (*LaboratoriesUseCases) UpdateLaboratory ¶ added in v0.30.0
func (useCases *LaboratoriesUseCases) UpdateLaboratory(dto *dtos.UpdateLaboratoryDTO) error
Click to show internal directories.
Click to hide internal directories.