Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
Id uint `json:"id"`
Name string `json:"name"`
StartDate string `json:"startDate"`
EndDate string `json:"endDate"`
Address string `json:"address"`
Credit float64 `json:"credit"`
Constraints []string `json:"constraints"`
Details string `json:"details"`
MaxParticipants uint `json:"maxParticipants"`
Status string `json:"status"`
Type string `json:"type"`
Group string `json:"group"`
AttachedProgram uint `json:"attachedProgram"`
}
func (*Event) CheckFields ¶
type Program ¶
type Program struct {
Id uint `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
StartDate string `json:"startDate"`
EndDate string `json:"endDate"`
NbrOfHoursToComplete int `json:"nbrOfHoursToComplete"`
EnrolledStudents []uint `json:"enrolledStudent"`
}
func (Program) CheckField ¶
Click to show internal directories.
Click to hide internal directories.