Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go get error #62

Open
xiedeacc opened this issue Sep 4, 2020 · 1 comment
Open

go get error #62

xiedeacc opened this issue Sep 4, 2020 · 1 comment

Comments

@xiedeacc
Copy link

xiedeacc commented Sep 4, 2020

ubuntu 18.04, go 1.14.4

github.com/whyrusleeping/gx-go

../src/github.com/whyrusleeping/gx-go/link.go:48: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)
../src/github.com/whyrusleeping/gx-go/link.go:52: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)
../src/github.com/whyrusleeping/gx-go/link.go:56: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)
../src/github.com/whyrusleeping/gx-go/main.go:137: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)
../src/github.com/whyrusleeping/gx-go/main.go:175:2: cannot use []cli.Command literal (type []cli.Command) as type []*cli.Command in field value
../src/github.com/whyrusleeping/gx-go/main.go:196: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)
../src/github.com/whyrusleeping/gx-go/main.go:200: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)
../src/github.com/whyrusleeping/gx-go/main.go:658: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)
../src/github.com/whyrusleeping/gx-go/main.go:662: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)
../src/github.com/whyrusleeping/gx-go/main.go:798: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)
../src/github.com/whyrusleeping/gx-go/main.go:200:15: too many errors

@xiedeacc xiedeacc changed the title go get -u -v github.com/whyrusleeping/gx-go error go get error Sep 4, 2020
@4others
Copy link

4others commented Dec 3, 2020

I encounter the same error.
Ubuntu 20.04

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

No branches or pull requests

2 participants