Add POST /produce endpoint
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user