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

Installation via Go get fails #86

Open
sgohl opened this issue Jun 26, 2020 · 0 comments · May be fixed by #88
Open

Installation via Go get fails #86

sgohl opened this issue Jun 26, 2020 · 0 comments · May be fixed by #88

Comments

@sgohl
Copy link

sgohl commented Jun 26, 2020

This used to work for ages, but now go get fails:

~ > docker run --rm golang go get github.com/corvus-ch/rabbitmq-cli-consumer
# github.com/corvus-ch/rabbitmq-cli-consumer
src/github.com/corvus-ch/rabbitmq-cli-consumer/main.go:37:16: 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/corvus-ch/rabbitmq-cli-consumer/main.go:40:3: unknown field 'EnvVar' in struct literal of type cli.StringFlag
src/github.com/corvus-ch/rabbitmq-cli-consumer/main.go:42:16: 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/corvus-ch/rabbitmq-cli-consumer/main.go:46:16: 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/corvus-ch/rabbitmq-cli-consumer/main.go:50:14: 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/corvus-ch/rabbitmq-cli-consumer/main.go:54:14: 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/corvus-ch/rabbitmq-cli-consumer/main.go:58:14: 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/corvus-ch/rabbitmq-cli-consumer/main.go:62:14: 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/corvus-ch/rabbitmq-cli-consumer/main.go:66:14: 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/corvus-ch/rabbitmq-cli-consumer/main.go:70:16: 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/corvus-ch/rabbitmq-cli-consumer/main.go:70:16: too many errors

any ideas?

@Arkiant Arkiant linked a pull request Feb 11, 2021 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant