On Wednesday, January 29, 2020 at 6:56:35 PM UTC+1, Manlio Perillo wrote:
>
> This is a proposal for the next version Go.
>
> Currently gofmt formats struct fields to make the field name and type 
> aligned.
> However this may cause extra changes in a commit diff when one field is 
> added or removed.
>
>
Here is an example of a diff with a lot of noise, where the actual change 
is very hard to see:
https://gist.github.com/perillo/c5b3bdff9e8db9c89f316670d129c0dd

Note that using `git diff -w` is not a solution, since it can only be used 
locally.  The full diff will be shown by github and friends.

> [...]


Manlio

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/949e9bc8-0c85-4f6a-a4b1-5e25b3f8ab83%40googlegroups.com.

Reply via email to