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 <[email protected]> Run-TryBot: Jonathan Amsterdam <[email protected]> gopls-CI: kokoro <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
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)