Documentation ¶
Index ¶
- func DayToInt(DaySTR string, Lecturer string) int
- func ExportSchedule(schedule *model.Schedule, path string) error
- func LoadClassrooms(path string, delim rune) []*model.Classroom
- func LoadCourses(pathToCourses string, pathToReserved string, pathToBusy string, ...) ([]*model.Course, []*model.Laboratory, []*model.Reserved, []*model.Busy, ...)
- func PrintSchedule(schedule *model.Schedule)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportSchedule ¶
ExportSchedule formats the schedule data into ScheduleCSVRow structs and writes it to the CSV file specified by the given path.
func LoadClassrooms ¶
LoadClassrooms reads and parses given csv file for classroom data.
func LoadCourses ¶
func LoadCourses(pathToCourses string, pathToReserved string, pathToBusy string, pathToMandatory string, pathToConflicts string, pathToSplit string, delim rune, ignored []string, service []string) ([]*model.Course, []*model.Laboratory, []*model.Reserved, []*model.Busy, []*model.Conflict)
LoadCourses reads and parses given csv file for course data.
func PrintSchedule ¶
PrintSchedule prints weekly schedule grouped by department name.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.