mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2026-01-16 19:42:26 +01:00
15 lines
323 B
Go
15 lines
323 B
Go
package events
|
|
|
|
import (
|
|
"github.com/pocketbase/pocketbase"
|
|
"htwkalender/service/db"
|
|
)
|
|
|
|
func GetAllCourses(app *pocketbase.PocketBase) []string {
|
|
return db.GetAllCourses(app)
|
|
}
|
|
|
|
func GetAllCoursesForSemester(app *pocketbase.PocketBase, semester string) interface{} {
|
|
return db.GetAllCoursesForSemester(app, semester)
|
|
}
|