diff options
Diffstat (limited to 'model/recipes.go')
| -rw-r--r-- | model/recipes.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/model/recipes.go b/model/recipes.go index e4fd1b8..b711dab 100644 --- a/model/recipes.go +++ b/model/recipes.go @@ -14,6 +14,10 @@ type RecipesElement struct { type Recipes []RecipesElement +func (r *Recipes) SetID(id int) { + // singleton object, ignoring ID +} + func (r *Recipes) Create(tx *sql.Tx) error { return fmt.Errorf("Impossible to create a recipe list") } |
