You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
internal/imports: carve out a Source interface for index integration
In preparation for integrating the newly implemented shared module cache
index, carve out a minimal imports.Source interface to be used by
FixImports. For now, this interface has a single implementation,
wrapping the legacy ProcessEnv abstraction, but in the future we can
replace it with an implementation that synthesizes the module cache
index with gopls' own view of the workspace.
This CL intentionally avoids any refactoring aside from extracting the
ProcessEnv-specific logic into a ProcessEnvSource.
For golang/go#36077
Change-Id: I189a908c917aba68868b08845880b1f0aa731180
Reviewed-on: https://go-review.googlesource.com/c/tools/+/623296
Reviewed-by: Peter Weinberger <[email protected]>
Reviewed-by: Alan Donovan <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Auto-Submit: Robert Findley <[email protected]>
0 commit comments