-
Notifications
You must be signed in to change notification settings - Fork 18k
x/tools/cmd/goimports: #17576
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
Comments
"github.com/newrelic/go-agent" |
Sorry, I'm not going to fix this. If you don't follow conventions, you don't get the tools which are built on conventions. You'll have to write your imports by hand, I'm afraid. |
Reporting to newrelic as well. |
Thanks, please do. goimports will respect any of these options: package newrelic in github.com/newrelic/go-agent/newrelic |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?1.7
What operating system and processor architecture are you using (
go env
)?mac
What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
Try to run the newrelic go-agent plugin in Sublime Text with goimports and gosublime - since the plugin name is different from the package name, goimports keeps deleting it and making it impossible to use. I have to disable the automatic gosublime goimports functionality to use newrelic.
What did you expect to see?
Allow some plugins to be used even if they don't meet your naming conventions
What did you see instead?
Breaking behaviour.
The text was updated successfully, but these errors were encountered: