Run goimports#19
Merged
Merged
Conversation
Order imports into: - standard library - dependencies - internal modules
jpinz
approved these changes
Feb 3, 2026
There was a problem hiding this comment.
Pull request overview
This PR standardizes Go import formatting by running goimports, ensuring imports are grouped into standard library, third-party dependencies, and local/internal modules.
Changes:
- Reordered and regrouped imports across multiple Go files to match
goimportsconventions. - Inserted/adjusted blank lines between import groups (std / third-party / internal).
- Removed trailing whitespace/extra blank lines where applicable.
Reviewed changes
Copilot reviewed 41 out of 41 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| proxy_test.go | Import grouping/order adjusted to separate third-party and internal imports. |
| proxy.go | Import grouping/order adjusted (std vs deps vs internal). |
| main.go | Import grouping/order adjusted; removed trailing blank lines at EOF. |
| logging.go | Import grouping/order adjusted to keep internal imports in the local group. |
| internal/oidc/oidc_credential_test.go | Import grouping/order adjusted. |
| internal/oidc/oidc_credential.go | Import grouping/order adjusted. |
| internal/metrics/handler.go | Import grouping/order adjusted. |
| internal/metrics/collector_client_test.go | Import grouping/order adjusted. |
| internal/metrics/collector_client.go | Import grouping/order adjusted. |
| internal/logging/logging.go | Import grouping/order adjusted. |
| internal/handlers/test_helpers.go | Import grouping/order adjusted. |
| internal/handlers/terraform_registry_test.go | Import grouping/order adjusted. |
| internal/handlers/terraform_registry.go | Import grouping/order adjusted. |
| internal/handlers/rubygems_server.go | Import grouping/order adjusted. |
| internal/handlers/python_index.go | Import grouping/order adjusted. |
| internal/handlers/pub_repository.go | Import grouping/order adjusted. |
| internal/handlers/oidc_handling_test.go | Import grouping/order adjusted. |
| internal/handlers/nuget_feed_test.go | Import grouping/order adjusted. |
| internal/handlers/nuget_feed.go | Import grouping/order adjusted. |
| internal/handlers/npm_registry.go | Import grouping/order adjusted. |
| internal/handlers/maven_repository.go | Import grouping/order adjusted. |
| internal/handlers/hex_repository.go | Import grouping/order adjusted. |
| internal/handlers/hex_organization.go | Import grouping/order adjusted. |
| internal/handlers/helm_registry.go | Import grouping/order adjusted. |
| internal/handlers/goproxy_server_handler.go | Import grouping/order adjusted. |
| internal/handlers/github_api_test.go | Import grouping/order adjusted. |
| internal/handlers/github_api.go | Import grouping/order adjusted. |
| internal/handlers/git_server_test.go | Import grouping/order adjusted. |
| internal/handlers/git_server.go | Import grouping/order adjusted (std imports reordered). |
| internal/handlers/docker_registry_test.go | Import grouping/order adjusted. |
| internal/handlers/docker_registry.go | Import grouping/order adjusted. |
| internal/handlers/dependabot_api.go | Import grouping/order adjusted. |
| internal/handlers/composer.go | Import grouping/order adjusted. |
| internal/handlers/cargo_registry.go | Import grouping/order adjusted. |
| internal/handlers/azdo_api_test.go | Import grouping/order adjusted. |
| internal/handlers/azdo_api.go | Import grouping/order adjusted. |
| internal/dialer/dialer.go | Import grouping/order adjusted. |
| internal/cache/handlers_test.go | Import grouping/order adjusted. |
| internal/cache/handlers.go | Import grouping/order adjusted. |
| internal/apiclient/client_test.go | Import grouping/order adjusted. |
| internal/apiclient/client.go | Import grouping/order adjusted. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Order imports into: