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

cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal #47

Open
rnubel opened this issue Nov 13, 2019 · 0 comments
Labels

Comments

@rnubel
Copy link
Owner

rnubel commented Nov 13, 2019

This issue is for documenting the fix to the above error -- if you are trying to install pgmgr from a folder where Go module support is not found, you may see this error as the cli dependency was not stable. In #46, I moved pgmgr to use Go modules to lock down its dependencies, so the fix for this is to install the tool with modules turned on:

GO111MODULE=on go get github.com/rnubel/pgmgr

This workaround should become unnecessary once Go changes its default setting for GO11MODULE to on, which should be in Go 1.14 or so.

@rnubel rnubel added the advisory label Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant