Skip to main content Link Search Menu Expand Document (external link)

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.

#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.