Skip to content
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

protoc-gen-go: put all imports in one section #720

Merged
merged 1 commit into from
Sep 28, 2018
Merged

Conversation

neild
Copy link
Contributor

@neild neild commented Sep 28, 2018

Keep plugin imports and non-plugin imports in the same section, but
don't try to split stdlib and non-stdlib imports into different
sections. Consistent with using astutil to insert all imports from a
blank slate.

Keep plugin imports and non-plugin imports in the same section, but
don't try to split stdlib and non-stdlib imports into different
sections. Consistent with using astutil to insert all imports from a
blank slate.
@neild neild requested a review from dsnet September 28, 2018 22:12
@dsnet dsnet merged commit 7011d38 into master Sep 28, 2018
@dsnet
Copy link
Member

dsnet commented Sep 28, 2018

Oops. I accidentally merged this instead of approved it. GitHub could benefit from a 1-click approve button.

@dsnet dsnet deleted the neild.plugins2 branch September 28, 2018 22:13
dsnet added a commit that referenced this pull request Nov 27, 2018
Keep plugin imports and non-plugin imports in the same section, but
don't try to split stdlib and non-stdlib imports into different
sections. Consistent with using astutil to insert all imports from a
blank slate.

Change-Id: Iede57a803c4a20baa1f903504df89f02b8b951c0
Cherry-Pick: github.com/golang/protobuf@7011d38ac0d201eeddff4a4085a657c3da322d75
Original-Author: Damien Neil <[email protected]>
Reviewed-on: https://go-review.googlesource.com/c/151421
Reviewed-by: Damien Neil <[email protected]>
@golang golang locked and limited conversation to collaborators Jun 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants