Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateIngredientDTO ¶
type CreateIngredientDTO struct { Name string `json:"name"` BaseUnit string `json:"base_unit"` NutritionFacts *NutritionFacts `json:"nutrition_facts,omitempty"` }
type FindIngredientsDTO ¶
type Ingredient ¶
type Ingredient struct { ID string `json:"id" bson:"_id,omitempty"` Name string `json:"name" bson:"name,omitempty"` BaseUnit string `json:"base_unit" bson:"base_unit,omitempty"` NutritionFacts *NutritionFacts `json:"nutrition_facts,omitempty" bson:"nutrition_facts,omitempty"` }
type IngredientDTO ¶
type IngredientDTO struct { Ingredient Ingredient `json:"ingredient,omitempty"` Name string `json:"name,omitempty"` ID string `json:"ingredient_id,omitempty"` NameQuery string `json:"name_query,omitempty"` Error string `json:"error,omitempty"` }
Click to show internal directories.
Click to hide internal directories.