Skip to content
This repository was archived by the owner on Jan 28, 2022. It is now read-only.

Conversation

@stuartleeks
Copy link
Collaborator

@stuartleeks stuartleeks commented Nov 15, 2019

Addresses #111

This was referenced Nov 15, 2019
Copy link
Contributor

@Azadehkhojandi Azadehkhojandi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for your PR, I had a few suggestions/questions.


# Run go fmt against code
fmt:
go fmt ./...
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what was the reason of changing go fmt ./... to find . -name '*.go' | grep -v vendor | xargs gofmt -s -w?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the golangci-lint checks that the code has been simplified and I reused the fmt command from other projects to apply the simplification and to ignore vendored packages (avoids linter failures on those if vendoring is ever used)

@stuartleeks stuartleeks force-pushed the sl/add-linting branch 3 times, most recently from 70cb83c to abb9853 Compare November 25, 2019 10:20
@stuartleeks
Copy link
Collaborator Author

/azp list

@azure-pipelines
Copy link

CI/CD Pipelines for this repository:

@Azure Azure deleted a comment from azure-pipelines bot Nov 25, 2019
@Azure Azure deleted a comment from azure-pipelines bot Nov 25, 2019
@Azure Azure deleted a comment from azure-pipelines bot Nov 25, 2019
Azadehkhojandi
Azadehkhojandi previously approved these changes Nov 25, 2019
@stuartleeks stuartleeks force-pushed the sl/add-linting branch 2 times, most recently from b64f120 to 466cdee Compare November 25, 2019 16:30
Copy link
Contributor

@Azadehkhojandi Azadehkhojandi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks

@Azadehkhojandi Azadehkhojandi merged commit 5615c1f into Azure:master Nov 26, 2019
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