diff options
author | schencej <55326070+schencej@users.noreply.github.com> | 2019-12-10 17:31:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-10 17:31:57 -0500 |
commit | db8efeafb8e3a427cded4ffa1b8fdcda789cbdaa (patch) | |
tree | f1a10c6a2e092de028810bc842dc11bde2580a49 /backend/recipe.go | |
parent | 58043492cf8a12d3b73dbb8760e26ffce0e2dc41 (diff) | |
parent | 3fd5630cae141bf49537537315d23bdbf92f8493 (diff) |
Merge branch 'master' into top_bar
Diffstat (limited to 'backend/recipe.go')
-rw-r--r-- | backend/recipe.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/backend/recipe.go b/backend/recipe.go index a3191c3..59b7366 100644 --- a/backend/recipe.go +++ b/backend/recipe.go @@ -6,12 +6,11 @@ import "strings" type Ingredient struct { Name string `json:"name"` Amount float64 `json:"amount"` - Unit string `json:"units"` - Type string `json:"type"` + Unit string `json:"unit"` } type Step struct { - Desc string `json:"instructions"` + Desc string `json:"instruction"` Time int `json:"timer"` } |