Re: [go-nuts] Module weirdness in playground

2022-11-18 Thread Brian Candler
Interesting. But if I install and run goimports locally, it doesn't delete the import - it just rewrites it to assign the package name explicitly. Maybe the playground has a different version of goimports? $ ~/go/bin/goimports -d . diff -u start.go.orig start.go --- start.go.orig 2022-11

Re: [go-nuts] Module weirdness in playground

2022-11-18 Thread Jan Mercl
On Fri, Nov 18, 2022 at 7:15 PM Brian Candler wrote: > This used to work: > https://play.golang.org/p/YQoAu1Iwkor > > But now when I click on "Run", the import path of "example.com/myprog/foo" is > removed, and it fails to compile. > > Any clues as to what's going on? I think the playground use