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

Refactor the code to use goimports only and remove gofmt in makefile #2296

Merged
merged 1 commit into from
Nov 27, 2019
Merged

Refactor the code to use goimports only and remove gofmt in makefile #2296

merged 1 commit into from
Nov 27, 2019

Conversation

cyastella
Copy link
Contributor

Summary

Since goimports is a strict superset of gofmt. So we use goimports only and remove the gofmt check to simplify the code.

Implementation details

Testing

New tests cover the changes:

Description for the changelog

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@yumex93
Copy link
Contributor

yumex93 commented Nov 26, 2019

It would be nice to double check that after removing, gofmt is properly run and everything gets formatted.

@cyastella cyastella merged commit 9a47fe4 into aws:dev Nov 27, 2019
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.

4 participants