Placement of the multi-line function call closing parenthesis
quasilyte opened this issue · 1 comments
quasilyte commented
There are at least 2 ways that comply to gofmt
:
// (A)
_ = fn(
a,
b)
// (B)
_ = fn(
a,
b,
)
There are also different ways to place first argument, but most likely it can be handled with the same technique that will be used for the case above.
// (A)
_ = fn(
a,
b)
// (B)
_ = fn(a,
b)
Whether this belongs to the go-consistent
scope is an open question too.
quasilyte commented
Same thing applies to multi-line composite literals.