forked from go-packages/paypal
Merge pull request #196 from erkin97/fix-omitempty
Fix omitempty struct tag on Product.Description
This commit is contained in:
commit
36281c1526
|
@ -11,7 +11,7 @@ type (
|
||||||
Product struct {
|
Product struct {
|
||||||
ID string `json:"id,omitempty"`
|
ID string `json:"id,omitempty"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Description string `json:"description",omitempty`
|
Description string `json:"description,omitempty"`
|
||||||
Category ProductCategory `json:"category,omitempty"`
|
Category ProductCategory `json:"category,omitempty"`
|
||||||
Type ProductType `json:"type"`
|
Type ProductType `json:"type"`
|
||||||
ImageUrl string `json:"image_url,omitempty"`
|
ImageUrl string `json:"image_url,omitempty"`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user