Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Allergens ¶
type Allergens map[Allergen]Ingredients
func (Allergens) ContainsNoAllergen ¶
func (as Allergens) ContainsNoAllergen(i Ingredient) bool
func (Allergens) DeleteIngredient ¶
func (as Allergens) DeleteIngredient(i Ingredient)
type Ingredient ¶
type Ingredient string
type Ingredients ¶
type Ingredients map[Ingredient]struct{}
func (Ingredients) Copy ¶
func (is Ingredients) Copy() Ingredients
func (Ingredients) Intersect ¶
func (is1 Ingredients) Intersect(is2 Ingredients)
func (Ingredients) Slice ¶
func (is Ingredients) Slice() []Ingredient
Click to show internal directories.
Click to hide internal directories.