-
Notifications
You must be signed in to change notification settings - Fork 57
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
Go Code format checker and formatter #182
Go Code format checker and formatter #182
Conversation
39647af
to
a23b8a3
Compare
a23b8a3
to
0d25947
Compare
0d25947
to
ea00a3c
Compare
e61ae37
to
0c7cf59
Compare
@faraazbrcm thank you for putting up this PR, do you have the time to move it forward and submit? We think the formatting cleanup and build check would be very helpful to have. |
0c7cf59
to
faaa1e9
Compare
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
faaa1e9
to
465e26f
Compare
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
465e26f
to
ff84216
Compare
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
ff84216
to
89e163d
Compare
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
89e163d
to
e36784d
Compare
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Also formatted the files which dont adhere to go formats. Build will fail if there exists any formatting issue. Formatting is supported for bookworm as well.
e36784d
to
fb1690c
Compare
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Its merged now |
Also formatted the files which dont adhere to go formats. Build will fail if there exists any formatting issue.
Formatting is supported for bookworm as well.
Why I did it
This was done to make the code readable and organised as per Golang standards
How I did it
I execute gofmt tool as part of build step and fail the build in case of formatting issues
How to verify it
build has to go through. no manual verification is required.