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: gofmt should rewrite snake-case. #18669
Thanks for the suggestion. But if your program contained:
const ( FOO_BAR_CONST = 0 FooBarConst = 1 )
Then gofmt would make your program cease to compile. And if someone else imported your package and used
gofmt must always be safe to run, so we cannot do this.