Verbessere Dokumentation

This commit is contained in:
Gonne 2022-11-04 21:15:38 +01:00
parent ec24c6c4dc
commit fe54d76ab2
14 changed files with 75 additions and 34 deletions

View file

@ -1,4 +1,4 @@
// officeHour
// The package models defines the stucts for objects, their repositories and the signatures of their functions.
package models
type OfficeHour struct {
@ -7,10 +7,10 @@ type OfficeHour struct {
Date
Room
Course
RoomName string
RoomName string // A description of the room for special rooms that are not preconfigured.
Info string
Active bool
Duration int
Duration int // Duration in minutes. Must be divisible by the config field "MinuteGranularity".
}
type OfficeHourRepository interface {