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

improved customizingyourgateway.md #1359

Merged
merged 10 commits into from
May 21, 2020
Merged

improved customizingyourgateway.md #1359

merged 10 commits into from
May 21, 2020

Conversation

iamrajiv
Copy link
Contributor

typo fix and removed grammatical mistakes in docs/_docs/customizingyourgateway.md

Copy link
Collaborator

@johanbrandhorst johanbrandhorst left a comment

Choose a reason for hiding this comment

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

Thanks for this proposal! However, it is idiomatic in Go to use tabs for indentation (gofmt uses it: https://golang.org/cmd/gofmt/), so I'm not sure using spaces in the snippets is appropriate. I noticed some of the lines are mixing spaces and tabs though, so maybe you could change all the snippets to use tabs consistently?

@iamrajiv
Copy link
Contributor Author

thank you for feedback @johanbrandhorst I have removed tabs and followed https://golang.org/cmd/gofmt/ please take a look

@codecov-io
Copy link

Codecov Report

Merging #1359 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1359   +/-   ##
=======================================
  Coverage   54.14%   54.14%           
=======================================
  Files          42       42           
  Lines        4375     4375           
=======================================
  Hits         2369     2369           
  Misses       1750     1750           
  Partials      256      256           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c860e27...0292c1e. Read the comment docs.

@johanbrandhorst
Copy link
Collaborator

thank you for feedback @johanbrandhorst I have removed tabs and followed https://golang.org/cmd/gofmt/ please take a look

Sorry for the confusion; what I mean is that we should use tabs in all the Go snippets, as gofmt does.

@iamrajiv
Copy link
Contributor Author

I got it means previous changes what I made was correct and I should make other files to https://golang.org/cmd/gofmt/ is that right? @johanbrandhorst

@johanbrandhorst
Copy link
Collaborator

johanbrandhorst commented May 18, 2020

I got it means previous changes what I made was correct and I should make other files to https://golang.org/cmd/gofmt/ is that right? @johanbrandhorst

The first change you made, seemed to me to introduce spaces in place of tabs. We don't want to use spaces in the Go snippets, because idiomatic Go code uses tabs.

@codecov-commenter
Copy link

codecov-commenter commented May 19, 2020

Codecov Report

Merging #1359 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1359   +/-   ##
=======================================
  Coverage   54.14%   54.14%           
=======================================
  Files          42       42           
  Lines        4375     4375           
=======================================
  Hits         2369     2369           
  Misses       1750     1750           
  Partials      256      256           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c860e27...c8e696c. Read the comment docs.

This reverts commit f80d909.

	deleted:    .DS_Store
	deleted:    docs/.DS_Store
	deleted:    docs/_docs/.DS_Store
	modified:   docs/_docs/customizingyourgateway.md
Copy link
Collaborator

@johanbrandhorst johanbrandhorst left a comment

Choose a reason for hiding this comment

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

Maybe just leave the snippets for now and focus on the prose? These are really great changes.

@iamrajiv
Copy link
Contributor Author

@johanbrandhorst can you review my last changes?

@iamrajiv
Copy link
Contributor Author

@johanbrandhorst can you review the changes?

Copy link
Collaborator

@johanbrandhorst johanbrandhorst left a comment

Choose a reason for hiding this comment

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

Thanks, this looks great!

@johanbrandhorst johanbrandhorst merged commit 2d9c2c0 into grpc-ecosystem:master May 21, 2020
@johanbrandhorst
Copy link
Collaborator

Thanks for your contribution! Could you please cherry pick this against the v2 branch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants