On Wed, Apr 18, 2018 at 1:24 PM Ali Altun <[email protected]> wrote:
> There is a code part in the https://golang.org/pkg/sort/#example_ > The Go code formatter doesn't change this code. The code is already gofmt'ed, so no change is expected. > Similarly, how can I make it leave the following code snippet unchanged? Does this have a technique? No, gofmt puts a line break after the opening left brace of any statement block that's not a function block with a short and simple body. -- -j -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
