usecase

package
v0.0.0-...-5f5a93c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcademicFieldUsecase

type AcademicFieldUsecase interface {
	Get() ([]string, error)
}

type ResourceUsecase

type ResourceUsecase interface {
	GetByIds(ids []string) ([]*dto.ResourceDTO, error)
}

type SubjectUsecase

type SubjectUsecase interface {
	GetById(id string) (*dto.SubjectDTO, error)
	GetByIds(ids []string) ([]*dto.SubjectDTO, error)
	GetBySearchParameter(title string, faculty string, academicField string) ([]*dto.SubjectDTO, error)
	GetByRandom(category string, series string, academicField string, numSubjects int) ([]*dto.SubjectDTO, error)
	GetByVideoSearchParameter(title string, faculty string) ([]*dto.SubjectWithSpecifiedVideosDTO, error)
}

type SyllabusUsecase

type SyllabusUsecase interface {
	GetById(id string) (*dto.SyllabusDTO, error)
}

type VideoUsecase

type VideoUsecase interface {
	GetByIds(ids []string) ([]*dto.VideoDTO, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL