Files
arbeitszeitmessung/Backend/models/controlTables.go
tom 7670efa99b
Some checks failed
arbeitszeitmessung/pipeline/head There was a failure building this commit
added control tables (s_*) + working on implementing absence and booking types
2025-08-02 08:55:40 +02:00

16 lines
279 B
Go

package models
import (
"arbeitszeitmessung/helper"
)
var definedTypes = helper.NewCache(3600, func(key string) (any, error) {
switch key {
case "s_abwesenheit_typen":
return GetAbsenceTypes()
case "s_anwesenheit_typen":
return GetBokkingTypes()
}
return nil, nil
})