Mensa-CLI/models/day.go
2024-09-17 23:02:36 +02:00

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)
}