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

Make fails when trying to install go-fx #8

Open
vgiotsas opened this issue Aug 20, 2020 · 2 comments
Open

Make fails when trying to install go-fx #8

vgiotsas opened this issue Aug 20, 2020 · 2 comments

Comments

@vgiotsas
Copy link

I'm using go version 14.4 in Ubuntu 18.04.4

When I try to make I get the following error:

go get -u github.com/whyrusleeping/gx
go get -u github.com/whyrusleeping/gx-go
# github.com/whyrusleeping/gx-go
../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)
../go/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)
../go/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)
../go/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)
../go/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
../go/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)
../go/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)
../go/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)
../go/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)
../go/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)
../go/src/github.com/whyrusleeping/gx-go/main.go:200:15: too many errors
Makefile:9: recipe for target 'gx' failed
make: *** [gx] Error 2

@vyzo
Copy link
Owner

vyzo commented Aug 20, 2020

it's unmaintained and ancient history; it should be ported to work with go mod...

@vgiotsas
Copy link
Author

Thanks, I figured so but I just wanted to create the issue for documentation purposes

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