mirror of
https://github.com/golang/go
synced 2024-11-18 14:14:46 -07:00
0133cac317
The internal imports API allows the user to control the lifetime of caches, via the ProcessEnv object. Change the goimports command to use the same cache for its lifetime. This should speed up goimports -w *.go dramatically in cases where imports need to be added. Change-Id: I01e3531ad53b038896435474ac9a8be97d5f3c10 Reviewed-on: https://go-review.googlesource.com/c/tools/+/175448 Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> |
||
---|---|---|
.. | ||
doc.go | ||
goimports_gc.go | ||
goimports_not_gc.go | ||
goimports.go |