Add POST /produce endpoint

This commit is contained in:
2021-06-20 20:41:00 -04:00
parent 8eee652b9e
commit 95839c459a
8 changed files with 247 additions and 6 deletions
+3 -3
View File
@@ -4,7 +4,7 @@ import "github.com/Rhymond/go-money"
// Item models a produce item.
type Item struct {
Code string
Name string
Price *money.Money
Code string `json:"code"`
Name string `json:"name"`
Price *money.Money `json:"price"`
}