student.events.go
- Contains student related functions for events.
#1
func getEventsByStudentHandler
- Used to get events using recruitment cycle id.
Events are fetched using the function:
func fetchEventsByStudent(ctx, rid, &events)
- This takes RID and an empty array of type proformaEventStudentResponse as parameters.
Here, RID refers to recruitment cycle ID.
- Mentioned in application/db.events.
#2
func getEventsByProformaForStudentHandler
- Used to get events using proforma ID.
Events are fetched using the function:
func fetchEventsByProforma(ctx, pid, &events)
- This takes PID and an empty array of type ProformaEvent as parameters.
Here, PID refers to proforma ID.
- Mentioned in application/db.events.