Hi, Could you try the module aware fork of goimports https://github.com/heschik/goimports and let us know if it works and is acceptable speed wise? We are not merging it back yet because we think it may be slower for non module users, and we want some more confidence that it is a drop in replacement, but it should work.
Thanks Ian On Wed, Nov 7, 2018 at 7:43 PM Joseph Lorenzini <jalo...@gmail.com> wrote: > > > Hi all, > > If have a go.mod, goimports takes 30 seconds to run. If I remove the > go.mod, then goimports takes half a second to run. Is this expected? Is > goimports trying to do something with the packages found in go.mod? Is > there a way to configure goimports so it ignores go.mod? > > Thanks, > Joe > > -- > 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 golang-nuts+unsubscr...@googlegroups.com. > 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 golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.