Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot unmarshal number into Go value of type string #75

Closed
kelf47 opened this issue Jan 31, 2019 · 2 comments
Closed

Cannot unmarshal number into Go value of type string #75

kelf47 opened this issue Jan 31, 2019 · 2 comments

Comments

@kelf47
Copy link

kelf47 commented Jan 31, 2019

I'm getting this error on NewExchangeInfoService.Do
I guess binance is returning an integer defined as string.

err = json.Unmarshal(data, res)

@adshao
Copy link
Owner

adshao commented Feb 1, 2019

Hi @kelf47 Could you submit a pr for it?

@kelf47
Copy link
Author

kelf47 commented Feb 1, 2019

Hi! Sorry I had an old version of go-binance code. With the new 1.2.0 release all is working properly. Thx!

@kelf47 kelf47 closed this as completed Feb 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants