Some JSON fields are transferred as strings. This will update the struct tags to allow JSON unmarshaling as expected.
Breaking changes:
None. I hope.
New features:
client.Credits.All() is now usable.
Fixes:
Error json: cannot unmarshal string into Go struct field Credit.Rate of type float64 was thrown when trying to unmarshal REST response to bitfinex.Credit.
Description:
Some JSON fields are transferred as strings. This will update the struct tags to allow JSON unmarshaling as expected.
Breaking changes:
None. I hope.
New features:
client.Credits.All()
is now usable.Fixes:
Error
json: cannot unmarshal string into Go struct field Credit.Rate of type float64
was thrown when trying to unmarshal REST response tobitfinex.Credit
.PR status: