Versions in this module Expand all Collapse all v0 v0.22.0 Jan 9, 2024 Changes in this version + type MenuItem struct + BlankLine bool + Bold bool + Category string + Date any + Featured bool + Food struct{ ... } + FoodList any + FoodVariationID int + ID int + Image string + ImageAlt any + ImageDescription any + ImageThumbnail string + IsHoliday bool + IsSectionTitle bool + IsStationHeader bool + MenuID int + NoLineBreak bool + Position int + Price any + ServingSize any + ServingSizeAmount float64 + ServingSizeUnit string + SmartRecipeID any + StationID any + StationIsCollapsible bool + Text string + type MenuType string + const Breakfast + const Lunch + type NutrisliceClient struct + func New(district string) *NutrisliceClient + func (c *NutrisliceClient) GetSchools() ([]School, error) + func (c *NutrisliceClient) GetTodaysMenu(menuType MenuType) ([]MenuItem, error) + func (c *NutrisliceClient) GetWeeklyMenu(menuType MenuType, year int, month int, startDay int) (WeekMenu, error) + type School struct + ActiveMenuTypes []struct{ ... } + Address string + Currency struct{ ... } + Digest string + DisplayCategoryIds []int + ExternalID any + FriEnabled bool + FriEnd string + FriStart string + Geolocation any + ID int + Logo string + MonEnabled bool + MonEnd string + MonStart string + Name string + OperatingDaysByMenuType []any + OperatingEndDate any + OperatingStartDate any + OrderingEnabled bool + PhoneNumber string + PickupPeriods []any + SatEnabled bool + SatEnd string + SatStart string + Slug string + SunEnabled bool + SunEnd string + SunStart string + ThuEnabled bool + ThuEnd string + ThuStart string + Timezone any + TueEnabled bool + TueEnd string + TueStart string + WayfindingNote string + WedEnabled bool + WedEnd string + WedStart string + type WeekMenu struct + BoldAllEntreesEnabled bool + Days []struct{ ... } + ID int + LastUpdated time.Time + MenuTypeID int + StartDate string