Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ValidCategoriesOrder = []string{
"serves",
"oven temperature",
"ingredients",
"preparation",
"tips",
}
ValidCategoriesOrder defines keys of info in order of importance
Functions ¶
This section is empty.
Types ¶
type Recipe ¶
type Recipe struct { Title string `json:"title"` Info map[string][]string `json:"info"` // FIXME support non-docx DocxPath string `json:"docx_path"` ScanPaths []string `json:"scan_paths"` Image []byte }
Recipe stores information regarding a specific recipe
func RecipesFromPath ¶
RecipesFromPath generates Recipe instances from a path
Click to show internal directories.
Click to hide internal directories.