Documentation ¶
Index ¶
- type Ingredient
- type IngredientGroup
- type Ingredients
- type Recepies
- type Recipe
- func (r *Recipe) Delete(c *mgo.Collection) error
- func (r *Recipe) Find(id bson.ObjectId, c *mgo.Collection) error
- func (r *Recipe) FromJson(reader io.Reader) error
- func (r *Recipe) Insert(c *mgo.Collection) error
- func (r Recipe) ToJson() ([]byte, error)
- func (r *Recipe) Update(c *mgo.Collection) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ingredient ¶
type IngredientGroup ¶
type IngredientGroup struct { Title string `json:"title" bson:"r"` Ingredients []Ingredient `json:"ingredients" bson:"i"` }
type Ingredients ¶
type Ingredients []Ingredient
Click to show internal directories.
Click to hide internal directories.