On Tuesday, April 28, 2015 at 12:52:46 PM UTC+1, Damian Gryski wrote:
On Tuesday, April 28, 2015 at 1:26:16 PM UTC+2, Alberto García Hierro
wrote:
exists inside Google might be nicer. AIUI, goimports does an rpc call to
an external service to perform the symbol -> import mapping. This
functionality could be added to the public version of goimports, using data
harvested by godoc running with -index.
Damian
On Tuesday, April 28, 2015 at 1:26:16 PM UTC+2, Alberto García Hierro
wrote:
I propose to add an opt-in cache to tools/imports, so programs like
goimports might decide to use this cache.
At least for the `goimports' case, I think a solution closer to whatgoimports might decide to use this cache.
exists inside Google might be nicer. AIUI, goimports does an rpc call to
an external service to perform the symbol -> import mapping. This
functionality could be added to the public version of goimports, using data
harvested by godoc running with -index.
Damian
parsing all packages in GOPATH and reading all directories under it. In
code terms, most of time is spent in tools/imports.loadPkg
Regards,
Alberto
--
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.