From 54029aac92f17ec87d3ef0bb73fcdac271b209c9 Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 11 Sep 2024 20:25:31 +0200 Subject: Apply go fmt to all source files This applies default Go code style recommendations. --- model/recipes.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'model/recipes.go') 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", }, } -- cgit v1.2.3-70-g09d2