package
1.6.1
Repository: https://github.com/projeto-uspy/uspy-backend.git
Documentation: pkg.go.dev

# Functions

Get gets a subject by its identifier: subject code, course code and course specialization code.
GetCourses gets all course codes from a given institute the database.
GetInstitutes gets all institutes from the database.
GetOfferingComments retrieves the comments made so far for a given offering.
GetOfferingsWithStats retrieves a list of offerings for a given subject, along with the comment stats associated with them It is a closure for the GET /api/restricted/offerings endpoint.
GetProfessors gets all course codes from a given institute the database.
GetRelations gets the subject's graph: their direct predecessors and successors.
GetSiblingSubjects gets the subject's siblings: Subjects with same institute, course, specialization and semester.
GetStats fetches some statistics from the database.
ListSubjectsByCourse gets all subjects from a given course in the database It differs from SearchSubjects because it does not take an institute parameter.
SearchSubjects gets all subjects from a given course in the database This differs from SubjectsByCourseIdentifier because it uses the institute to find the course.