Documentation
¶
Index ¶
- type RubricsPostgresRepository
- func (repository *RubricsPostgresRepository) AddObjectiveToRubric(rubricUUID string, objectiveDescription string) (objectiveUUID string, err error)
- func (repository *RubricsPostgresRepository) GetAllCreatedByTeacher(teacherUUID string) ([]*dtos.CreatedRubricDTO, error)
- func (repository *RubricsPostgresRepository) GetByUUID(uuid string) (rubric *entities.Rubric, err error)
- func (repository *RubricsPostgresRepository) Save(dto *dtos.CreateRubricDTO) (rubric *entities.Rubric, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RubricsPostgresRepository ¶
func GetRubricsPgRepository ¶
func GetRubricsPgRepository() *RubricsPostgresRepository
func (*RubricsPostgresRepository) AddObjectiveToRubric ¶ added in v0.22.0
func (repository *RubricsPostgresRepository) AddObjectiveToRubric(rubricUUID string, objectiveDescription string) (objectiveUUID string, err error)
func (*RubricsPostgresRepository) GetAllCreatedByTeacher ¶ added in v0.20.0
func (repository *RubricsPostgresRepository) GetAllCreatedByTeacher(teacherUUID string) ([]*dtos.CreatedRubricDTO, error)
func (*RubricsPostgresRepository) GetByUUID ¶
func (repository *RubricsPostgresRepository) GetByUUID(uuid string) (rubric *entities.Rubric, err error)
func (*RubricsPostgresRepository) Save ¶
func (repository *RubricsPostgresRepository) Save(dto *dtos.CreateRubricDTO) (rubric *entities.Rubric, err error)
Click to show internal directories.
Click to hide internal directories.