mirror of
https://github.com/Xevion/banner.git
synced 2025-12-08 12:06:28 -06:00
Switch from logrus to zerolog, move types into types.go
This commit is contained in:
30
types.go
Normal file
30
types.go
Normal file
@@ -0,0 +1,30 @@
|
||||
package main
|
||||
|
||||
import "time"
|
||||
|
||||
type MeetingTimeFaculty struct {
|
||||
bannerId int
|
||||
category string
|
||||
displayName string
|
||||
email string
|
||||
primary bool
|
||||
}
|
||||
|
||||
type MeetingTimeResponse struct {
|
||||
faculty []MeetingTimeFaculty
|
||||
weekdays map[time.Weekday]bool
|
||||
campus string
|
||||
campusDescription string
|
||||
creditHours int
|
||||
building string
|
||||
buildingDescription string
|
||||
room string
|
||||
timeStart NaiveTime
|
||||
timeEnd NaiveTime
|
||||
dateStart time.Time
|
||||
dateEnd time.Time
|
||||
hoursPerWeek float32
|
||||
meetingScheduleType string
|
||||
meetingType string
|
||||
meetingTypeDescription string
|
||||
}
|
||||
Reference in New Issue
Block a user