-
-
Notifications
You must be signed in to change notification settings - Fork 95
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 find module providing package gopkg.in/mattn/go-colorable.v0 #36
Comments
If you want to fix this, please do NOT use gopkg.in. |
Thanks @mattn. I don't believe I'm using |
Yes, or specify commit with the package name. See golang/go#30636 |
Thanks, I addressed this by moving my repo somewhere under |
I've used Kubebuilder to generate a bunch of code for a Kubernetes custom resource controller. I'd like my custom resource controller to manage BOSH releases so I've got code similar to this to construct a BOSH Director client to pass to my reconciliation controller so it can use it to manage BOSH releases. After adding this code to some of the Kubebuilder-generated code, and running
make generate
from the Kubebuilder-generated Makefile, it fails when I rungo fmt ./...
.I'm not importing
go-colorable
directly anywhere in my code, my guess is some of the packages fromgithub.com/cloudfoundry/bosh-cli
that I'm importing have some recursive dependency ongo-colorable
, so I don't think I can solve this by modifying any import paths in my own code.Any pointers on how I might troubleshoot this? I saw #35 but none of the ideas there seemed to help.
The text was updated successfully, but these errors were encountered: