diff options
author | Tucker Evans <tuckerevans24@gmail.com> | 2019-12-10 19:50:21 -0500 |
---|---|---|
committer | Tucker Evans <tuckerevans24@gmail.com> | 2019-12-10 19:53:38 -0500 |
commit | 556fb4672019b6af56794998d6435f68e1c59368 (patch) | |
tree | 291e0cb67b0598a59da1976cadfaf5e900ae7de6 /backend/recipe.go | |
parent | b0bd782b6ff20ff874afc9ebf0b8ab9274ea2a09 (diff) | |
parent | 3b8dd74dcb2be88630099772e0902e1dfbcde92c (diff) |
Merge branch 'master' into elim
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"` } |