Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IngredientWithAmountDto ¶
type IngredientWithAmountDto struct { IngredientId uuid.UUID `json:"ingredient_id"` Amount int `json:"amount"` Unit string `json:"unit"` }
func (IngredientWithAmountDto) Validate ¶
func (i IngredientWithAmountDto) Validate() error
type Request ¶
type Request struct { Name string `json:"name"` Ingredients []IngredientWithAmountDto `json:"ingredients"` }
Click to show internal directories.
Click to hide internal directories.