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

Error: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in array or slice literal #6

Open
pierow2k opened this issue Nov 25, 2019 · 1 comment

Comments

@pierow2k
Copy link

I'm getting an error when I try to pull using go get

Environment

# go version
go version go1.12.9 linux/amd64

Error

# go get github.com/bharatkalluri/moviescore
# github.com/bharatkalluri/moviescore
src/github.com/bharatkalluri/moviescore/main.go:18: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)
src/github.com/bharatkalluri/moviescore/main.go:22: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)
src/github.com/bharatkalluri/moviescore/main.go:26: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)
#
@Talhamehar007
Copy link

I am having the same 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

No branches or pull requests

2 participants