Giter Site home page Giter Site logo

cloudflare's People

Contributors

antonlindstrom avatar crackcomm avatar jameshartig avatar xla avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

cloudflare's Issues

Won't compile (on newer Go versions?)

# go install github.com/crackcomm/cloudflare/cf
# github.com/crackcomm/cloudflare/cf/cmd
go/src/github.com/crackcomm/cloudflare/cf/cmd/cmd_firewalls_create.go:16:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
go/src/github.com/crackcomm/cloudflare/cf/cmd/cmd_firewalls_create.go:20:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
go/src/github.com/crackcomm/cloudflare/cf/cmd/cmd_firewalls_create.go:24:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
go/src/github.com/crackcomm/cloudflare/cf/cmd/cmd_firewalls_create.go:28:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
go/src/github.com/crackcomm/cloudflare/cf/cmd/cmd_firewalls_create.go:32:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
go/src/github.com/crackcomm/cloudflare/cf/cmd/cmd_firewalls_create.go:36:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
go/src/github.com/crackcomm/cloudflare/cf/cmd/cmd_firewalls_create.go:41:8: cannot use func literal (type func(*cli.Context)) as type cli.ActionFunc in field value
go/src/github.com/crackcomm/cloudflare/cf/cmd/cmd_firewalls_list.go:19:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
go/src/github.com/crackcomm/cloudflare/cf/cmd/cmd_firewalls_list.go:23:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
        cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
go/src/github.com/crackcomm/cloudflare/cf/cmd/cmd_firewalls_list.go:27:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in array or slice literal:
        cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
go/src/github.com/crackcomm/cloudflare/cf/cmd/cmd_firewalls_list.go:27:15: too many errors

(That is on Ubuntu 18.04's ancient Go 1.10) (I probably need to try newer versions as well though)

Possibly related to this: https://github.com/urfave/cli/blob/master/docs/migrate-v1-to-v2.md (Which would be a library issue rather than a Go version one) Via this

Records.Create() throws away return value

Records.Create() simply drops the resulting body of the API call. Most importantly, this drops the "id" meaning that any created record can't be safely looked back up. DNS can have multiple identical records with the same type and even value so there is no safe way to look that value up without getting this ID.

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.