Documentation
¶
Index ¶
- Constants
- func AddIngredientsToList(ingredients []string, units *unitConversions, groceryMap map[string][]string)
- func GetHeaders(respValues [][]interface{}) map[string]map[string][2]int
- func GetIngredients(respValues [][]interface{}, recipeID string, ...) []string
- func GetRecipeNames(respValues [][]interface{}, rl []string, headers map[string]map[string][2]int) []string
- func LoadUnitConversions() *unitConversions
- func SaveListToFile(path string, groceryMap map[string][]string, recipeNames []string)
Constants ¶
View Source
const CategorySep string = "###"
CategorySep delineates betweeen categories
View Source
const IDprefix string = "ID-"
IDprefix ID- which predeces every ID number
View Source
const IDsep string = "-"
IDsep is what separates id values
View Source
const IngredientSep string = ","
IngredientSep denotes the end of ingredient and start of measurement
View Source
const Ingredients string = "Ingredients"
Ingredients name of ingredients column
View Source
const MeasurementSep string = ";"
MeasurementSep denotes the end of ingredient and start of measurement
View Source
const QuantitySep string = "/"
QuantitySep denotes separation between measurement quant. and type
View Source
const RecipeName string = "Recipe Name"
Recipe Name: name of Recipe Name column
Variables ¶
This section is empty.
Functions ¶
func AddIngredientsToList ¶
func GetHeaders ¶
func GetIngredients ¶
func GetRecipeNames ¶
func LoadUnitConversions ¶
func LoadUnitConversions() *unitConversions
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.