Skip to content

Commit

Permalink
cmd/godoc: deprecate and point to cmd/pkgsite
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jba committed Nov 1, 2021
1 parent 351c04c commit 513e3fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/godoc/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,7 @@ see https://golang.org/pkg/testing/#hdr-Examples for the conventions.
See "Godoc: documenting Go code" for how to write good comments for godoc:
https://golang.org/doc/articles/godoc_documenting_go_code.html
// Deprecated: godoc cannot select what version of a package is displayed.
// Instead, use golang.org/x/pkgsite/cmd/pkgsite.
*/
package main // import "golang.org/x/tools/cmd/godoc"

0 comments on commit 513e3fb

Please sign in to comment.