Giter Site home page Giter Site logo

dnspod-go's People

Contributors

decker502 avatar googolmo avatar mukaiu avatar pandada8 avatar rainingmaster avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dnspod-go's Issues

json: cannot unmarshal number into Go struct field Domain.group_id of type string

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.

json fail

acme: error cleaning up: API call failed: json: cannot unmarshal string into Go struct field DomainInfo.info.mine_total of type int

No License

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 :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.