Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/gofmt: does not remove empty line right after open brace #28691
What version of Go are you using (
I don't know gofmt removes the blank line in one case but not the other. I really don't feel strongly either way, except that changing gofmt output at this point is kind of a pain since it causes perfectly fine existing code to suddenly fail gofmt checks. Leaving for @griesemer .