Created
June 30, 2019 16:32
-
-
Save mottet-dev/2699f26cfd99d0bfb0aa133f73b63ec9 to your computer and use it in GitHub Desktop.
Gorilla Mux - Ingredients
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package model | |
type Ingredient struct { | |
ID int `json:"id"` | |
Name string `json:"name"` | |
Price float32 `json:"price"` | |
Quantity int `json:"quantity"` | |
Unit string `json:"unit"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment