decker502 / dnspod-go Goto Github PK
View Code? Open in Web Editor NEWdnspod api
License: MIT License
dnspod api
License: MIT License
Get Starting这几行是不是不对:
apiToken := "xxxxxxx"
params := dnspod.CommonParams{LoginToken: "dnspod login token"}
client := dnspod.NewClient(apiToken)
应该是:
apiToken := "xxxxxxx"
params := dnspod.CommonParams{LoginToken: "dnspod login token",Format: "json"}
client := dnspod.NewClient(params)
client.Domains.List()出错:
json: cannot unmarshal number into Go struct field Domain.group_id of type string`
我修改:
type Domain struct {
...............
GroupID string `json: "group_id, int omitempty"`
............
加了一个int
Thank Contributors.
建议是否调整后去?
DomainInfo.info.share_total 的类型错误,需要改为int
acme: error cleaning up: API call failed: json: cannot unmarshal string into Go struct field DomainInfo.info.mine_total of type int
Hi @decker502
First of all thank you for this project. Can you be clearer about License of this project?
Best way can be to commit a LICENSE
file in sources :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.