feat: get handlers return object slices

This commit is contained in:
2025-07-20 15:42:43 +02:00
parent 2e16c67321
commit 45712dacf6
11 changed files with 31 additions and 41 deletions

View File

@ -10,11 +10,6 @@ import (
"git.bissendorf.co/bissendorf/unifood/m/v2/util"
)
type Menu struct {
Location string
Dishes []Dish
}
func DishFromDTO(dish stwbremen.Dish) (*Dish, error) {
date, err := time.Parse(time.DateOnly, dish.Date)
if err != nil {