keltia / ripe-atlas

RIPE Atlas API access in Go.
MIT License
28 stars 5 forks source link

cmd/atlas does not compile #10

Open ulrichwisser opened 3 years ago

ulrichwisser commented 3 years ago

When running go get github.com/keltia/ripe-atlas/cmd/atlas I get the following error

# github.com/keltia/ripe-atlas/cmd/atlas
../../keltia/ripe-atlas/cmd/atlas/atlas.go:225:18: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in assignment:
    cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
../../keltia/ripe-atlas/cmd/atlas/atlas.go:234:5: app.Author undefined (type *cli.App has no field or method Author)
../../keltia/ripe-atlas/cmd/atlas/atlas.go:240:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
    cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
../../keltia/ripe-atlas/cmd/atlas/atlas.go:245:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
    cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
../../keltia/ripe-atlas/cmd/atlas/atlas.go:250:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
    cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
../../keltia/ripe-atlas/cmd/atlas/atlas.go:255:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
    cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
../../keltia/ripe-atlas/cmd/atlas/atlas.go:260:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
    cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
../../keltia/ripe-atlas/cmd/atlas/atlas.go:265:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
    cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
../../keltia/ripe-atlas/cmd/atlas/atlas.go:270:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
    cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
../../keltia/ripe-atlas/cmd/atlas/atlas.go:275:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
    cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
../../keltia/ripe-atlas/cmd/atlas/atlas.go:275:17: too many errors
keltia commented 3 years ago

Thanks, I'll check it out, could you specify your platform please?

ulrichwisser commented 3 years ago

I did run it on osx. But only when I did run it through "go get". When I later did run "make install" everything went fine.