Documentation
¶
Index ¶
- type BlocksPostgresRepository
- func (repository *BlocksPostgresRepository) CanStudentSubmitToTestBlock(studentUUID string, testBlockUUID string) (bool, error)
- func (repository *BlocksPostgresRepository) DeleteMarkdownBlock(blockUUID string) (err error)
- func (repository *BlocksPostgresRepository) DeleteTestBlock(blockUUID string) (err error)
- func (repository *BlocksPostgresRepository) DoesTeacherOwnsMarkdownBlock(teacherUUID string, blockUUID string) (bool, error)
- func (repository *BlocksPostgresRepository) DoesTeacherOwnsTestBlock(teacherUUID string, blockUUID string) (bool, error)
- func (repository *BlocksPostgresRepository) GetTestArchiveUUIDFromTestBlockUUID(blockUUID string) (uuid string, err error)
- func (repository *BlocksPostgresRepository) OverwriteTestsArchive(uuid string, file *multipart.File) (err error)
- func (repository *BlocksPostgresRepository) SaveTestsArchive(file *multipart.File) (uuid string, err error)
- func (repository *BlocksPostgresRepository) UpdateMarkdownBlockContent(blockUUID string, content string) (err error)
- func (repository *BlocksPostgresRepository) UpdateTestBlock(dto *dtos.UpdateTestBlockDTO) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlocksPostgresRepository ¶
func GetBlocksPostgresRepositoryInstance ¶
func GetBlocksPostgresRepositoryInstance() *BlocksPostgresRepository
func (*BlocksPostgresRepository) CanStudentSubmitToTestBlock ¶ added in v0.41.0
func (repository *BlocksPostgresRepository) CanStudentSubmitToTestBlock(studentUUID string, testBlockUUID string) (bool, error)
func (*BlocksPostgresRepository) DeleteMarkdownBlock ¶ added in v0.39.0
func (repository *BlocksPostgresRepository) DeleteMarkdownBlock(blockUUID string) (err error)
func (*BlocksPostgresRepository) DeleteTestBlock ¶ added in v0.39.0
func (repository *BlocksPostgresRepository) DeleteTestBlock(blockUUID string) (err error)
func (*BlocksPostgresRepository) DoesTeacherOwnsMarkdownBlock ¶
func (repository *BlocksPostgresRepository) DoesTeacherOwnsMarkdownBlock(teacherUUID string, blockUUID string) (bool, error)
func (*BlocksPostgresRepository) DoesTeacherOwnsTestBlock ¶ added in v0.37.0
func (repository *BlocksPostgresRepository) DoesTeacherOwnsTestBlock(teacherUUID string, blockUUID string) (bool, error)
func (*BlocksPostgresRepository) GetTestArchiveUUIDFromTestBlockUUID ¶ added in v0.37.0
func (repository *BlocksPostgresRepository) GetTestArchiveUUIDFromTestBlockUUID(blockUUID string) (uuid string, err error)
func (*BlocksPostgresRepository) OverwriteTestsArchive ¶ added in v0.37.0
func (repository *BlocksPostgresRepository) OverwriteTestsArchive(uuid string, file *multipart.File) (err error)
func (*BlocksPostgresRepository) SaveTestsArchive ¶ added in v0.36.0
func (repository *BlocksPostgresRepository) SaveTestsArchive(file *multipart.File) (uuid string, err error)
func (*BlocksPostgresRepository) UpdateMarkdownBlockContent ¶
func (repository *BlocksPostgresRepository) UpdateMarkdownBlockContent(blockUUID string, content string) (err error)
func (*BlocksPostgresRepository) UpdateTestBlock ¶ added in v0.37.0
func (repository *BlocksPostgresRepository) UpdateTestBlock(dto *dtos.UpdateTestBlockDTO) (err error)
Click to show internal directories.
Click to hide internal directories.