Documentation
¶
Overview ¶
Package mucdai holds the pure MUC.DAI CSV import parsing: turning a raw CSV export (of varying encoding and delimiter) into db.MucDaiExam records grouped by program. The plexams package does the surrounding I/O (replacing collections, generating exams); this parser is I/O-free and unit-tested (mirrors plexams/primuss).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseCSV ¶
func ParseCSV(csvText string) (map[string][]*db.MucDaiExam, error)
ParseCSV parses the CSV text (comma/semicolon/tab auto-detected, ISO-8859-1 tolerated) into db.MucDaiExam grouped by program (Studiengruppe). Rows without a numeric Nr or a program are skipped; the file must have the 'Nr' and 'Studiengruppe' columns.
Types ¶
This section is empty.