8 Commits

Author SHA1 Message Date
Denis Isaev
c02a6daa5c Fix #263: fix goimports performance with modules
Apply https://go-review.googlesource.com/c/tools/+/132598/ as a
temporary fix before a proper fix is in golang.org/x/tools
2018-11-05 12:37:54 +03:00
Denis Isaev
17508ab904
update golang.org/x/tools 2018-10-28 18:03:14 +03:00
Denis Isaev
0421bac259 Fix #237, fix #178: use go/packages
Use go/packages instead of x/tools/loader: it allows to work
with go modules and speedups loading of packages with the help
of build cache.

A lot of linters became "fast": they are enabled by --fast now and
work in 1-2 seconds. Only unparam, interfacer and megacheck
are "slow" linters now.

Average project is analyzed 20-40% faster than before if all linters are
enabled! If we enable all linters except unparam, interfacer and
megacheck analysis is 10-20x faster!
2018-10-28 17:55:15 +03:00
bartfokker
4cc6ed7db9 update generated README.md 2018-10-28 16:45:05 +03:00
Denis Isaev
6f6d496eb4
update golang.org/x/tools in go.mod 2018-10-20 10:54:47 +03:00
Alexander Menzhinsky
889e38c2fa Make it build with go1.11 2018-10-20 10:38:06 +03:00
Ariel Mashraki
3e87812087 address CR comments 2018-10-10 21:54:11 +03:00
Denis Isaev
dbfcf633d5
Issue #205: support go modules 2018-09-02 15:07:26 +03:00