diff --git a/gopls/internal/filecache/filecache.go b/gopls/internal/filecache/filecache.go index af917578e4f..dd77c08c37f 100644 --- a/gopls/internal/filecache/filecache.go +++ b/gopls/internal/filecache/filecache.go @@ -39,7 +39,7 @@ import ( "time" "golang.org/x/tools/gopls/internal/util/bug" - "golang.org/x/tools/gopls/internal/util/lru" + "golang.org/x/tools/internal/lru" ) // Start causes the filecache to initialize and start garbage gollection. diff --git a/gopls/internal/util/lru/lru.go b/internal/lru/lru.go similarity index 100% rename from gopls/internal/util/lru/lru.go rename to internal/lru/lru.go diff --git a/gopls/internal/util/lru/lru_fuzz_test.go b/internal/lru/lru_fuzz_test.go similarity index 94% rename from gopls/internal/util/lru/lru_fuzz_test.go rename to internal/lru/lru_fuzz_test.go index b82776b25ba..2cf01c10e25 100644 --- a/gopls/internal/util/lru/lru_fuzz_test.go +++ b/internal/lru/lru_fuzz_test.go @@ -7,7 +7,7 @@ package lru_test import ( "testing" - "golang.org/x/tools/gopls/internal/util/lru" + "golang.org/x/tools/internal/lru" ) // Simple fuzzing test for consistency. diff --git a/gopls/internal/util/lru/lru_test.go b/internal/lru/lru_test.go similarity index 98% rename from gopls/internal/util/lru/lru_test.go rename to internal/lru/lru_test.go index 9ffe346257d..270e1d45325 100644 --- a/gopls/internal/util/lru/lru_test.go +++ b/internal/lru/lru_test.go @@ -14,7 +14,7 @@ import ( "testing" "golang.org/x/sync/errgroup" - "golang.org/x/tools/gopls/internal/util/lru" + "golang.org/x/tools/internal/lru" ) func TestCache(t *testing.T) {