Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
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 .