Feature proposal: struct-like formatting when doing table-like tests #259
Closed
michelececcacci
started this conversation in
Ideas
Replies: 1 comment 1 reply
|
Unfortunately we can't do this, as gofmt would fight us here - gofumpt would want to add the whitespace, and gofmt would want to remove it. See the README for the design principles. In other words, if you want this alignment, gofmt has to add it. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Since this is already supported for struct definition, why not add it for structs when working with tables?
For example, it would turn something like this:
into something like this:
All reactions