mirror of
https://github.com/LeRoid-hub/Mensa-API.git
synced 2025-01-31 11:44:55 +00:00
15 lines
200 B
Go
15 lines
200 B
Go
package models
|
|
|
|
type Day struct {
|
|
DayName string
|
|
Menu []Menu
|
|
}
|
|
|
|
func (d *Day) SetDay(dayName string) {
|
|
d.DayName = dayName
|
|
}
|
|
|
|
func (d *Day) AddMenu(menu Menu) {
|
|
d.Menu = append(d.Menu, menu)
|
|
}
|