You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usually all the field values within a struct instance initialization are aligned at the same indent after gofmt. But, as far I can understand, gofmt doesn't do it properly for this piece of code:
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.10.3 linux/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?What did you do?
Usually all the field values within a struct instance initialization are aligned at the same indent after
gofmt
. But, as far I can understand,gofmt
doesn't do it properly for this piece of code:What did you expect to see?
The text was updated successfully, but these errors were encountered: