diff options
Diffstat (limited to 'model/recipes.go')
| -rw-r--r-- | model/recipes.go | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/model/recipes.go b/model/recipes.go index 7604fe2..fd8115f 100644 --- a/model/recipes.go +++ b/model/recipes.go @@ -5,8 +5,8 @@ import (  )  type RecipesElement struct { -	Id          int64   // TODO change to string -	Title       string +	Id    int64 // TODO change to string +	Title string  }  type Recipes []RecipesElement @@ -39,11 +39,11 @@ func (r *Recipes) Read() error {  func RecipesTestData() Recipes {  	return []RecipesElement{  		{ -			Id: 1, +			Id:    1,  			Title: "Pancakes",  		},  		{ -			Id: 2, +			Id:    2,  			Title: "Burger",  		},  	}  | 
