Documentation ¶
Index ¶
- type RubricsUseCases
- func (useCases *RubricsUseCases) CreateRubric(dto *dtos.CreateRubricDTO) (rubric *entities.Rubric, err error)
- func (useCases *RubricsUseCases) GetRubricByUUID(dto *dtos.GetRubricDto) (rubric *entities.Rubric, err error)
- func (useCases *RubricsUseCases) GetRubricsCreatedByTeacher(teacherUUID string) (rubrics []*dtos.CreatedRubricDTO, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RubricsUseCases ¶
type RubricsUseCases struct {
RubricsRepository definitions.RubricsRepository
}
func (*RubricsUseCases) CreateRubric ¶
func (useCases *RubricsUseCases) CreateRubric(dto *dtos.CreateRubricDTO) (rubric *entities.Rubric, err error)
func (*RubricsUseCases) GetRubricByUUID ¶ added in v0.21.0
func (useCases *RubricsUseCases) GetRubricByUUID(dto *dtos.GetRubricDto) (rubric *entities.Rubric, err error)
func (*RubricsUseCases) GetRubricsCreatedByTeacher ¶ added in v0.20.0
func (useCases *RubricsUseCases) GetRubricsCreatedByTeacher(teacherUUID string) (rubrics []*dtos.CreatedRubricDTO, err error)
Click to show internal directories.
Click to hide internal directories.