4 ms·
gofmt choice of not breaking lines is due to the fact that new lines in Go mean an implicit semicolon unless there is a comma or another continuation. To break
by dullgiulio 9y ago
gofmt choice of not breaking lines is due to the fact that new lines in Go mean an implicit semicolon unless there is a comma or another continuation.
To break lines, the formatter would have to refactor code, which is not desiderable.