mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-03 18:29:14 +02:00
fix:#36 fixed tests, naming, and removed old duplicated code
This commit is contained in:
@@ -195,6 +195,8 @@ func parseHTML(webpage string) (*html.Node, error) {
|
||||
return doc, nil
|
||||
}
|
||||
|
||||
// generateUUIDs generates a UUID for each event based on the event name, course and semester
|
||||
// the UUID is used to identify the event in the database
|
||||
func generateUUIDs(events []model.Event) []model.Event {
|
||||
for i, event := range events {
|
||||
// generate a hash value from the event name, course and semester
|
||||
|
Reference in New Issue
Block a user