Oh, I'm sorry, I first noticed it from golang playground, then noticed the same behavior locally.
But I forgot that my Emacs code formatting ties *not only* gofmt but also with `goimports`, where the problem really occurs. Sorry about making the fuzz. I'll recomiple goimports as well... On Wed, Aug 30, 2017 at 12:16 AM, Caleb Spare <[email protected]> wrote: > Works for me locally. I use both gofmt and goimports; for the latter, I > had to recompile it. > > https://github.com/golang/go/issues/21645 is about updating the > playground. > > On Tue, Aug 29, 2017 at 9:05 PM, Tong Sun <[email protected]> wrote: > >> >> >> On Wednesday, August 30, 2017 at 12:02:28 AM UTC-4, andrey mirtchovski >> wrote: >>> >>> occam's razor: most likely the playground is running an old gofmt. >>> >> >> Have you tried with gofmt 1.9 locally before posting? >> >> I have. >> >> -- >> 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. >> > > -- 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.
