Documentation ¶
Index ¶
Constants ¶
View Source
const CategorieLocation = "/categories"
View Source
const IngredientLocation = "/ingredients"
View Source
const TypeScriptImageDir string = "images"
View Source
const TypeScriptModuleTemplate string = `` /* 279-byte string literal not displayed */
View Source
const TypeScriptTemplate string = `` /* 1783-byte string literal not displayed */
Variables ¶
View Source
var ErrInvalidLanguage = errors.New("invalid language")
View Source
var ErrNoImageFound error = errors.New("No image found for related element")
Functions ¶
Types ¶
type FoodDB ¶
type FoodDB struct { Categories map[string]Category Ingredients map[string]Ingredient }
func LoadDatabase ¶
Click to show internal directories.
Click to hide internal directories.