goreturns icon indicating copy to clipboard operation
goreturns copied to clipboard

Package Gets Imported Unnecessarily

Open dc0d opened this issue 8 years ago • 1 comments

There is this package-level log variable. Package compiles. Even though goreturns keeps adding an import from some log packages that it finds.

Go 1.9.2 Ubuntu 16.04 VSCode (Updated)

I had to fall back to gofmt for VSCode. I can not reproduce it easily (a big project with big directory hierarchy).

dc0d avatar Dec 26 '17 03:12 dc0d

Me too. goreturns doesn't work well on my macOS. Have to back to goimports.

seagle0128 avatar Jan 28 '18 14:01 seagle0128