Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/cmd/goimports: add configuration mechanism for ignore list #16386
Per the golang-nuts thread (https://groups.google.com/forum/#!msg/golang-nuts/in9IVmPc_fQ/BO4wzOylCAAJ), goimports should have a configuration mechanism to permit designated ignored directories.
@bradfitz the other src tool that I use quite a bit is gorename.. It maybe takes about a minute to run it and it spews out errors about C code which isn't used by any Go code at all.. I'll guess that the answer of which source tool needs speed improvements differ depending on who uses what often.
Btw, It's probably better to have separate ignore files per tool for flexibility, one can always use symlinks to use a single file if the format is the same.
(and... thanks for the very much speedier goimports)