public

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(ctx *gin.Context, DB db.Database, sub *controllers.Subject)

Get gets a subject by its identifier: subject code, course code and course specialization code

func GetAllSubjects

func GetAllSubjects(ctx *gin.Context, DB db.Database, controller *controllers.Course)

GetAllSubjects gets all subjects from a given course in the database

func GetCourses

func GetCourses(ctx *gin.Context, DB db.Database, institute *controllers.Institute)

GetCourses gets all course codes from a given institute the database

func GetInstitutes

func GetInstitutes(ctx *gin.Context, DB db.Database)

GetInstitutes gets all institutes from the database

func GetOfferings

func GetOfferings(ctx *gin.Context, DB db.Database, sub *controllers.Subject)

GetOfferings retrieves the list of offerings for a given subject

func GetProfessors added in v1.5.5

func GetProfessors(ctx *gin.Context, DB db.Database, institute *controllers.Institute)

GetProfessors gets all course codes from a given institute the database

func GetRelations

func GetRelations(ctx *gin.Context, DB db.Database, sub *controllers.Subject)

GetRelations gets the subject's graph: their direct predecessors and successors

func GetStats

func GetStats(ctx *gin.Context, DB db.Database)

GetStats fetches some statistics from the database

Types

This section is empty.

Jump to

Keyboard shortcuts

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