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: one-line function split into two lines #5543
What steps will reproduce the problem? 1. http://play.golang.org/p/Oj-1V-dDVb 2. press Format 3. the closing "}" of g() ends up on the next line What is the expected output? What do you see instead? g() should remain a one-line function. Same applies if g() were a method.