Merge branch 'master' of github.com:awa/go-iap
This commit is contained in:
@@ -119,6 +119,7 @@ type (
|
||||
SubscriptionAutoRenewStatus string `json:"auto_renew_status"`
|
||||
SubscriptionPriceConsentStatus string `json:"price_consent_status"`
|
||||
ProductID string `json:"product_id"`
|
||||
OriginalTransactionID string `json:"original_transaction_id"`
|
||||
}
|
||||
|
||||
// The IAPResponse type has the response properties
|
||||
|
||||
@@ -33,7 +33,7 @@ func TestNumericString_UnmarshalJSON(t *testing.T) {
|
||||
{
|
||||
name: "object case",
|
||||
in: []byte("{\"ID\":{\"Num\": 8080}}"),
|
||||
err: errors.New("json: cannot unmarshal object into Go struct field foo.ID of type json.Number"),
|
||||
err: errors.New("json: cannot unmarshal object into Go value of type json.Number"),
|
||||
out: foo{},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user