Migrated Master Repository.
Find a file
Liam Verzano e3620cff04
refactor(api): modularize lecture fetching logic
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.
2026-02-23 08:58:54 +01:00
.gitignore Initial Commit 2026-02-04 11:27:03 +01:00
data.go Initial Commit 2026-02-04 11:27:03 +01:00
fetcherror.go Initial Commit 2026-02-04 11:27:03 +01:00
go.mod Initial Commit 2026-02-04 11:27:03 +01:00
main.go refactor(api): modularize lecture fetching logic 2026-02-23 08:58:54 +01:00