-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
R4R: Added goimports tool to get_tools. Fixed get_tools build. #2889
Conversation
…ions if binaries are missing.
So, the other PR has 212 files changed, mostly because the Go files were reformatted with goimports. That leads to oversight: I didn't see the format target addition at first. Fixed it in a second commit to this PR. We should run the goimports tool on the Go files in a separate PR that does nothing else, to keep it more manageable. |
Please not that the PHONY target does not contain the targets for tool building. This way Make will only run the targets if the files are missing. |
Codecov Report
@@ Coverage Diff @@
## develop #2889 +/- ##
===========================================
+ Coverage 56.82% 56.86% +0.04%
===========================================
Files 120 120
Lines 8298 8298
===========================================
+ Hits 4715 4719 +4
+ Misses 3265 3261 -4
Partials 318 318 |
here is a issue about goimports you can refer to: but the change have been reverted, it's up to you to use the latest version or the previous version. |
Oh, so you say that we might not want to use the latest commit from goimports? The current assumption (the easy path) was to use |
imho, I think the reverted version is better if you don't have other concerns. |
Issue: #2766
Please see old PR #2767 for discussion.
Targeted PR against correct branch (see CONTRIBUTING.md)
Linked to github-issue with discussion and accepted design OR link to spec that describes this work. Issue: It would be better to use goimports to organize imported packages #2766
Wrote tests (tested Makefile on Linux)
Updated relevant documentation (
docs/
)Added entries in
PENDING.md
with issue #rereviewed
Files changed
in the github PR explorerFor Admin Use: