Documentation ¶
Index ¶
- func Clean()
- func ExtractRecipe(input chan RecipeUrl, output chan Recipe, wg *sync.WaitGroup)
- func FindAllCategories(output chan string, wg *sync.WaitGroup)
- func FindAllRecipes(input chan string, output chan RecipeUrl, wg *sync.WaitGroup)
- func Save(input chan Recipe, wg *sync.WaitGroup)
- type Ingredient
- type Recipe
- type RecipeUrl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractRecipe ¶
func FindAllCategories ¶
func FindAllRecipes ¶
Types ¶
type Ingredient ¶
type Recipe ¶
type Recipe struct { Category string `json:"category"` Link string `json:"link"` Ingredients []Ingredient `json:"ingredients"` }
Click to show internal directories.
Click to hide internal directories.