Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶ added in v0.5.0
type Ingredient ¶
type Ingredient struct {
Id string `json:"id"`
Index string `json:"index"`
Amount string `json:"amount"`
Unit string `json:"unit"`
Type string `json:"type"`
Step string `json:"step"`
}
func (*Ingredient) Create ¶
func (i *Ingredient) Create(tx *sql.Tx) error
func (*Ingredient) Delete ¶
func (i *Ingredient) Delete(tx *sql.Tx) error
func (*Ingredient) Read ¶
func (i *Ingredient) Read(tx *sql.Tx) error
func (Ingredient) String ¶ added in v0.5.0
func (i Ingredient) String() string
func (*Ingredient) Update ¶
func (i *Ingredient) Update(tx *sql.Tx) error
func (*Ingredient) Validate ¶
func (i *Ingredient) Validate() error
type Object ¶
type Recipe ¶
type Recipes ¶
type Recipes []RecipesElement
type RecipesElement ¶
Source Files
¶
- db.go
- ingredient.go
- object.go
- recipe.go
- recipes.go
- step.go
- storage.go
- validation.go
Click to show internal directories.
Click to hide internal directories.