-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
goimports and local package #1348
Comments
I'm indifferent about this, but I can confirm that vim-go users (like me) can get it working in vim. |
I'm worried that third party contributors are going to struggle with this, though. |
Default goimports settings are fine for me. It’s easy to setup in GoLand, but it’s one extra project-specific setting. So small -1 from me, but I don’t care too much if we decide otherwise.
It’s just one more lint check to deal with. |
I'm not sure it's doable in VSCode. Is there anyone else who is using it, which has figure out how to do it? |
Vscode should listen to the golangci-lint config |
Looks correct:
|
Regarding this, If you invoke it without If you invoke it with |
This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
@cyriltovena @rfratto @slim-bean what's the state on this? I'd still prefer this style, I guess we should at least decide on something |
Send a pr if you don’t want to wait, this low priority for me. I also like it. |
I think I got hit by this in cortex today 😱. AFAICT we have to set the prefix per project. It's not too bad and I like the style. I guess I'll have to figure out how to set this up automatically. |
Refactor: do table names in just one place
As per the discussions on the PR : #1249 (comment)
It seems that we want to order local package as last together.
golangci-lint seems to support this.
Do we all agree that we want this ? /cc @pstibrany @rfratto @sh0rez @slim-bean @joe-elliott @pracucci @gouthamve @owen-d (AKA are you able to configure your IDE accordingly ?)
The text was updated successfully, but these errors were encountered: