Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRecipeServer ¶
func NewRecipeServer() *recipeServer
Types ¶
type Recipe ¶
type Recipe struct { ID primitive.ObjectID `json:"id"` Name string `json:"name"` ActiveTime int `json:"activeTime"` TotalTime int `json:"totalTime"` Servings int `json:"servings"` Categories []string `json:"categories"` Ingredients string `json:"ingredients"` Instructions string `json:"instructions"` UserID string `json:"userId"` Deleted bool `json:"deleted"` LastUpdated time.Time `json:"lastUpdated"` Calories int `json:"calories"` }
Recipe is a model of a recipe
Click to show internal directories.
Click to hide internal directories.