Re: [go-nuts] Re: goimports has been updated

2016-07-17 Thread Vince Prignano
https://github.com/golang/go/issues/16402 On Saturday, July 16, 2016 at 9:51:16 PM UTC-7, bradfitz wrote: > > Please file a bug. I lose emails. > > > On Sat, Jul 16, 2016 at 1:29 PM, Vince Prignano <vincenzo...@gmail.com > > wrote: > >> I just not

[go-nuts] Re: goimports has been updated

2016-07-16 Thread Vince Prignano
I just noticed that import paths that start with an uppercase letter don't get imported automatically after the update. Looking at the code and https://github.com/golang/tools/blob/master/imports/fix.go#L651, I tried to change the behavior, using strings.ToLower on `lastTwoComponents` like: