Skip to content
This repository has been archived by the owner on Aug 16, 2020. It is now read-only.

cannot unmarshal number into Go struct field DomainInfo.info.share_total of type string #11

Open
zangdale opened this issue Mar 23, 2020 · 4 comments

Comments

@zangdale
Copy link

DomainInfo.info.share_total 的类型错误,需要改为int

@zangdale
Copy link
Author

v0.2.0的版本

@zangdale
Copy link
Author

go get github.com/decker502/dnspod-go 直接下载的不是最新版本

@decker502
Copy link
Owner

master 分支是最新版本,已经使用json.Number 解决数据类型不匹配时序列化报错的问题

@decker502
Copy link
Owner

DomainInfo.info.share_total 的类型错误,需要改为int

请详细描述如何能复现问题,好定位原因?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants