Skip to content

Commit 513e3fb

Browse files
committed
cmd/godoc: deprecate and point to cmd/pkgsite
Fixes golang/go#49212. Change-Id: I335749bfecc60f582968af601d9fa030f038e2be Reviewed-on: https://go-review.googlesource.com/c/tools/+/349051 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
1 parent 351c04c commit 513e3fb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/godoc/doc.go

+2
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,7 @@ see https://golang.org/pkg/testing/#hdr-Examples for the conventions.
108108
See "Godoc: documenting Go code" for how to write good comments for godoc:
109109
https://golang.org/doc/articles/godoc_documenting_go_code.html
110110
111+
// Deprecated: godoc cannot select what version of a package is displayed.
112+
// Instead, use golang.org/x/pkgsite/cmd/pkgsite.
111113
*/
112114
package main // import "golang.org/x/tools/cmd/godoc"

0 commit comments

Comments
 (0)