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.
take this struct for example
why not have all the `` under each other? so instead of having little blocks and some of them are in column 30, some in column 33 etc, why not all be in max column of those blocks, like say column 37?
They are not aligned because they are not in an uninterrupted column. All the tags across a sequence of lines where each line contains a tag are aligned. As soon as a line doesn't have a tag, the "tag column" is terminated. This is very much the intent and a strategy applied everywhere throughout gofmt (the same applies for comments).
Working as intended.