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

Imports in generated code should follow conventions #398

Merged
merged 1 commit into from
Dec 6, 2017

Conversation

martinxsliu
Copy link
Contributor

For #396

This PR changes the ordering of the imports in the code generated by ginkgo bootstrap and ginkgo generate to follow Go conventions of grouping by standard library imports, then 3rd party imports, then by local imports.

This PR also removes a superfluous _test from the package name generated by ginkgo generate -agouti.

@martinxsliu martinxsliu force-pushed the generated-import-ordering branch 2 times, most recently from b43eb6a to 3317374 Compare December 6, 2017 01:09
@williammartin
Copy link
Sponsor Collaborator

LGTM thanks.

@williammartin williammartin merged commit e8536d8 into onsi:master Dec 6, 2017
@martinxsliu martinxsliu deleted the generated-import-ordering branch December 6, 2017 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants