Documentation ¶
Index ¶
- func GetCourses(DB db.Database) func(ctx *gin.Context)
- func GetInstitutes(DB db.Database) func(ctx *gin.Context)
- func GetOfferingComments(DB db.Database) func(ctx *gin.Context)
- func GetOfferingsWithStats(DB db.Database) func(ctx *gin.Context)
- func GetProfessors(DB db.Database) func(ctx *gin.Context)
- func GetRelations(DB db.Database) func(ctx *gin.Context)
- func GetSiblingSubjects(DB db.Database) func(ctx *gin.Context)
- func GetStats(DB db.Database) func(*gin.Context)
- func GetSubjectByCode(DB db.Database) func(ctx *gin.Context)
- func GetSubjects(DB db.Database) func(ctx *gin.Context)
- func ListSubjects(DB db.Database) func(ctx *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCourses ¶
GetCourses is a closure for the GET /courses endpoint
func GetInstitutes ¶
GetInstitutes is a closure for the GET /institutes endpoint
func GetOfferingComments ¶ added in v1.6.0
GetOfferingComments is a closure for the GET /api/restricted/subject/offerings/comments endpoint
func GetOfferingsWithStats ¶ added in v1.6.0
GetOfferingsWithStats is a closure for the GET /api/restricted/subject/offerings endpoint
It differs from GetOfferings because it includes user ratings (approval, disapproval) for each offering
func GetProfessors ¶ added in v1.5.5
GetProfessors is a closure for the GET /professors endpoint
func GetRelations ¶
GetRelations is a closure for the GET /api/subject/relations endpoint
func GetSiblingSubjects ¶ added in v1.5.9
GetSiblingSubjects is a closure for the GET /api/subject/siblings endpoint
func GetSubjectByCode ¶
GetSubjectByCode is a closure for the GET /api/subject endpoint
func GetSubjects ¶
GetSubjects is a closure for the GET /api/subject/search endpoint
Types ¶
This section is empty.