From 0dcbe3655aa649abed31c07207823df078cd9a62 Mon Sep 17 00:00:00 2001 From: Rob Findley Date: Sun, 25 Oct 2020 15:13:56 -0400 Subject: [PATCH] gopls/doc: update links from godoc.org to pkg.go.dev Change-Id: If81e8d9b3a08f6d9cceff9bf3d9cac6aa9247a94 Reviewed-on: https://go-review.googlesource.com/c/tools/+/264998 Trust: Robert Findley Run-TryBot: Robert Findley gopls-CI: kokoro TryBot-Result: Go Bot Reviewed-by: Rebecca Stambler --- gopls/doc/design.md | 6 +++--- gopls/doc/integrating.md | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gopls/doc/design.md b/gopls/doc/design.md index 131db796aa..6edd9aa284 100644 --- a/gopls/doc/design.md +++ b/gopls/doc/design.md @@ -364,11 +364,11 @@ Previous | N/A [godoc]: https://golang.org/cmd/godoc [gofmt]: https://golang.org/cmd/gofmt [gogetdoc]: https://github.com/zmb3/gogetdoc -[goimports]: https://godoc.org/golang.org/x/tools/cmd/goimports -[gorename]: https://godoc.org/golang.org/x/tools/cmd/gorename +[goimports]: https://pkg.go.dev/golang.org/x/tools/cmd/goimports +[gorename]: https://pkg.go.dev/golang.org/x/tools/cmd/gorename [goreturns]: https://github.com/sqs/goreturns [gotags]: https://github.com/jstemmer/gotags -[guru]: https://godoc.org/golang.org/x/tools/cmd/guru +[guru]: https://pkg.go.dev/golang.org/x/tools/cmd/guru [impl]: https://github.com/josharian/impl [staticcheck]: https://staticcheck.io/docs/ [go/types]: https://golang.org/pkg/go/types/ diff --git a/gopls/doc/integrating.md b/gopls/doc/integrating.md index 21a7fb9fa5..845f9eb007 100644 --- a/gopls/doc/integrating.md +++ b/gopls/doc/integrating.md @@ -61,9 +61,9 @@ For instance, files that are needed to do correct type checking are modified by Monitoring files inside gopls directly has a lot of awkward problems, but the [LSP specification] has methods that allow gopls to request that the client notify it of file system changes, specifically [`workspace/didChangeWatchedFiles`]. This is currently being added to gopls by a community member, and tracked in [#31553] -[InitializeResult]: https://godoc.org/golang.org/x/tools/internal/lsp/protocol#InitializeResult -[ServerCapabilities]: https://godoc.org/golang.org/x/tools/internal/lsp/protocol#ServerCapabilities -[`golang.org/x/tools/internal/span`]: https://godoc.org/golang.org/x/tools/internal/span#NewPoint +[InitializeResult]: https://pkg.go.dev/golang.org/x/tools/internal/lsp/protocol#InitializeResult +[ServerCapabilities]: https://pkg.go.dev/golang.org/x/tools/internal/lsp/protocol#ServerCapabilities +[`golang.org/x/tools/internal/span`]: https://pkg.go.dev/golang.org/x/tools/internal/span#NewPoint [LSP specification]: https://microsoft.github.io/language-server-protocol/specifications/specification-3-14/ [lsp-response]: https://github.com/Microsoft/language-server-protocol/blob/gh-pages/_specifications/specification-3-14.md#response-message @@ -88,4 +88,4 @@ This is currently being added to gopls by a community member, and tracked in [#3 [#31080]: https://github.com/golang/go/issues/31080 [#31553]: https://github.com/golang/go/issues/31553 -[#31526]: https://github.com/golang/go/issues/31526 \ No newline at end of file +[#31526]: https://github.com/golang/go/issues/31526