Mensa-CLI/models/day.go

15 lines
200 B
Go
Raw Normal View History

2024-09-17 21:02:36 +00:00
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)
}