Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateRecipeDTO ¶
type CreateRecipeDTO struct { Name string `json:"name"` CreatedBy string `json:"created_by"` Ingredients []Ingredient `json:"ingredients,omitempty"` Steps []Step `json:"steps,omitempty"` }
type Ingredient ¶
type Recipe ¶
type Recipe struct { ID string `json:"id" bson:"_id,omitempty"` Name string `json:"name" bson:"name,omitempty"` CreatedBy string `json:"created_by" bson:"created_by,omitempty"` Ingredients []Ingredient `json:"ingredients,omitempty" bson:"ingredients,omitempty"` Steps []Step `json:"steps,omitempty" bson:"steps,omitempty"` }
type UpdateRecipeDTO ¶
type UpdateRecipeDTO struct { ID string `json:"id"` Name string `json:"name"` Ingredients []Ingredient `json:"ingredients,omitempty"` Steps []Step `json:"steps,omitempty"` }
Click to show internal directories.
Click to hide internal directories.