Documentation ¶
Index ¶
- type AcademicFieldInteractor
- type ResourceInteractor
- type SubjectInteractor
- func (sI *SubjectInteractor) GetById(id string) (*dto.SubjectDTO, error)
- func (sI *SubjectInteractor) GetByIds(ids []string) ([]*dto.SubjectDTO, error)
- func (sI SubjectInteractor) GetByRandom(category string, series string, academicField string, numRandomSubjects int) ([]*dto.SubjectDTO, error)
- func (sI SubjectInteractor) GetBySearchParameter(title string, faculty string, academicField string) ([]*dto.SubjectDTO, error)
- func (sI SubjectInteractor) GetByVideoSearchParameter(title string, faculty string) ([]*dto.SubjectWithSpecifiedVideosDTO, error)
- type SyllabusInteractor
- type VideoInteractor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcademicFieldInteractor ¶
type AcademicFieldInteractor struct {
// contains filtered or unexported fields
}
func NewAcademicFieldInteractor ¶
func NewAcademicFieldInteractor(afR repository.AcademicFieldRepository) *AcademicFieldInteractor
func (*AcademicFieldInteractor) Get ¶
func (afI *AcademicFieldInteractor) Get() ([]string, error)
type ResourceInteractor ¶
type ResourceInteractor struct {
// contains filtered or unexported fields
}
func NewResourceInteractor ¶
func NewResourceInteractor(sR repository.ResourceRepository) *ResourceInteractor
func (*ResourceInteractor) GetByIds ¶
func (sI *ResourceInteractor) GetByIds(ids []string) ([]*dto.ResourceDTO, error)
type SubjectInteractor ¶
type SubjectInteractor struct {
// contains filtered or unexported fields
}
func NewSubjectInteractor ¶
func NewSubjectInteractor(sR repository.SubjectRepository, vR repository.VideoRepository) *SubjectInteractor
func (*SubjectInteractor) GetById ¶
func (sI *SubjectInteractor) GetById(id string) (*dto.SubjectDTO, error)
func (*SubjectInteractor) GetByIds ¶
func (sI *SubjectInteractor) GetByIds(ids []string) ([]*dto.SubjectDTO, error)
func (SubjectInteractor) GetByRandom ¶
func (sI SubjectInteractor) GetByRandom(category string, series string, academicField string, numRandomSubjects int) ([]*dto.SubjectDTO, error)
func (SubjectInteractor) GetBySearchParameter ¶
func (sI SubjectInteractor) GetBySearchParameter(title string, faculty string, academicField string) ([]*dto.SubjectDTO, error)
func (SubjectInteractor) GetByVideoSearchParameter ¶
func (sI SubjectInteractor) GetByVideoSearchParameter(title string, faculty string) ([]*dto.SubjectWithSpecifiedVideosDTO, error)
type SyllabusInteractor ¶
type SyllabusInteractor struct {
// contains filtered or unexported fields
}
func NewSyllabusInteractor ¶
func NewSyllabusInteractor(sR repository.SyllabusRepository) *SyllabusInteractor
func (*SyllabusInteractor) GetById ¶
func (sI *SyllabusInteractor) GetById(id string) (*dto.SyllabusDTO, error)
type VideoInteractor ¶
type VideoInteractor struct {
// contains filtered or unexported fields
}
func NewVideoInteractor ¶
func NewVideoInteractor(sR repository.VideoRepository) *VideoInteractor
Click to show internal directories.
Click to hide internal directories.