Documentation ¶
Index ¶
- func Get(ctx *gin.Context, DB db.Database, sub *controllers.Subject)
- func GetAllSubjects(ctx *gin.Context, DB db.Database, controller *controllers.Course)
- func GetCourses(ctx *gin.Context, DB db.Database, institute *controllers.Institute)
- func GetInstitutes(ctx *gin.Context, DB db.Database)
- func GetOfferings(ctx *gin.Context, DB db.Database, sub *controllers.Subject)
- func GetProfessors(ctx *gin.Context, DB db.Database, institute *controllers.Institute)
- func GetRelations(ctx *gin.Context, DB db.Database, sub *controllers.Subject)
- func GetStats(ctx *gin.Context, DB db.Database)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
Get gets a subject by its identifier: subject code, course code and course specialization code
func GetAllSubjects ¶
GetAllSubjects gets all subjects from a given course in the database
func GetCourses ¶
GetCourses gets all course codes from a given institute the database
func GetInstitutes ¶
GetInstitutes gets all institutes from the database
func GetOfferings ¶
GetOfferings retrieves the list of offerings for a given subject
func GetProfessors ¶ added in v1.5.5
GetProfessors gets all course codes from a given institute the database
func GetRelations ¶
GetRelations gets the subject's graph: their direct predecessors and successors
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.