feat:#26 added semester to fetched groups

This commit is contained in:
Elmar Kresse
2024-02-02 00:25:26 +01:00
parent 116a8dc37e
commit 25a7464e41
12 changed files with 5365 additions and 45 deletions

View File

@@ -7,5 +7,6 @@ type SeminarGroup struct {
Course string
Faculty string
FacultyId string
Semester string
Events []Event
}

View File

@@ -5,11 +5,11 @@ import (
)
type Studium struct {
XMLName xml.Name `xml:"studium"`
Fakultaet []Fakultaet `xml:"fakultaet"`
XMLName xml.Name `xml:"studium"`
Faculty []Faculty `xml:"fakultaet"`
}
type Fakultaet struct {
type Faculty struct {
XMLName xml.Name `xml:"fakultaet"`
Name string `xml:"name,attr"`
ID string `xml:"id,attr"`