Migrated Master Repository.
- Go 100%
Refactored the lecture fetching process by splitting it into smaller, focused functions: `performGetRequest`, `filterAndParseLectures`, and `isType`. The main `fetchLectures` function now takes the API endpoint as a parameter and delegates responsibilities, improving readability and testability. Enhanced error handling for cache writing and JSON parsing. |
||
|---|---|---|
| .gitignore | ||
| data.go | ||
| fetcherror.go | ||
| go.mod | ||
| main.go | ||