package
Version:
v0.0.0-...-a40117b
Opens a new window with list of versions in this module.
Published: Jul 6, 2024
License: LGPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const PantryStaples = "flour, sugar, vegetable oil, baking powder, sugar, salt"
type QueryParameters struct {
Count *int `json:"Count"`
Ingredients *string `json:"Ingredients"`
PantryStaples *bool `json:"PantryStaples"`
}
type Recipe struct {
Name string `json:"name"`
Ingredients []struct {
Ingredient string `json:"ingredient"`
Quantity string `json:"quantity"`
} `json:"ingredients"`
Instructions []string `json:"instructions"`
}
type Recipes struct {
Recipes []Recipe `json:"recipes"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.