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
cmd/gofmt: remove tabs from comments #7972
Labels
Comments
That's definitely a plausible answer. My counterargument is that Effective Go contains a large section on commentary [1], and godoc uses comments to generate documentation. Both of these suggest that the content of comments is not completely freeform, but rather is expected to conform to a certain style. For the same reason that go fmt enforces style in the other parts of Go programs, I believe that it's reasonable for go fmt to enforce style in comments. [1] http://golang.org/doc/effective_go.html#commentary |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: