aboutsummaryrefslogtreecommitdiff
path: root/internal/lsp/testdata/links/links.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/lsp/testdata/links/links.go')
-rw-r--r--internal/lsp/testdata/links/links.go26
1 files changed, 0 insertions, 26 deletions
diff --git a/internal/lsp/testdata/links/links.go b/internal/lsp/testdata/links/links.go
deleted file mode 100644
index 89492bafe..000000000
--- a/internal/lsp/testdata/links/links.go
+++ /dev/null
@@ -1,26 +0,0 @@
-package links
-
-import (
- "fmt" //@link(`fmt`,"https://pkg.go.dev/fmt?utm_source=gopls")
-
- "golang.org/x/tools/internal/lsp/foo" //@link(`golang.org/x/tools/internal/lsp/foo`,`https://pkg.go.dev/golang.org/x/tools/internal/lsp/foo?utm_source=gopls`)
-
- _ "database/sql" //@link(`database/sql`, `https://pkg.go.dev/database/sql?utm_source=gopls`)
-)
-
-var (
- _ fmt.Formatter
- _ foo.StructFoo
- _ errors.Formatter
-)
-
-// Foo function
-func Foo() string {
- /*https://example.com/comment */ //@link("https://example.com/comment","https://example.com/comment")
-
- url := "https://example.com/string_literal" //@link("https://example.com/string_literal","https://example.com/string_literal")
- return url
-
- // TODO(golang/go#1234): Link the relevant issue. //@link("golang/go#1234", "https://github.com/golang/go/issues/1234")
- // TODO(microsoft/vscode-go#12): Another issue. //@link("microsoft/vscode-go#12", "https://github.com/microsoft/vscode-go/issues/12")
-}