feat: improve meals with better search and ids (#5)
Features: - Meals now have an id instead of a title only - It is now possible to get all meals without date or restaurant filter - Sorting meals output Reviewed-on: #5 Co-authored-by: bdoerfchen <git@bissendorf.co> Co-committed-by: bdoerfchen <git@bissendorf.co>
This commit is contained in:
1
model/external/stwbremen/meal.go
vendored
1
model/external/stwbremen/meal.go
vendored
@ -2,6 +2,7 @@ package stwbremen
|
||||
|
||||
type Meal struct {
|
||||
Title string `json:"title"`
|
||||
ID string `json:"id"`
|
||||
Ingredients []Ingredient `json:"ingredients"`
|
||||
Prices []Price `json:"prices"`
|
||||
Location string `json:"location"`
|
||||
|
||||
Reference in New Issue
Block a user