diff options
| author | Michael Matloob <matloob@golang.org> | 2025-07-23 11:25:14 -0400 |
|---|---|---|
| committer | Michael Matloob <matloob@google.com> | 2025-07-24 09:59:36 -0700 |
| commit | da8b50c83087897e2a8abef2d8909253f1fb4f23 (patch) | |
| tree | 6711184596bb7faa57b922e5dc7104278f166433 /doc | |
| parent | 6669aa3b14d98d90929ca860421e5308374b0f46 (diff) | |
| download | go-da8b50c83087897e2a8abef2d8909253f1fb4f23.tar.xz | |
cmd/doc: delete
Users should not invoke "go tool doc" directly, but should instead run
"go doc". Remove "cmd/doc" because it no longer invokes the "doc" tool
but incorporates its logic directly.
Fixes #74667
Change-Id: I357a3d7e0ca075f028df66e34951a41354c08941
Reviewed-on: https://go-review.googlesource.com/c/go/+/689835
Reviewed-by: Michael Matloob <matloob@google.com>
Auto-Submit: Michael Matloob <matloob@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/next/3-tools.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/next/3-tools.md b/doc/next/3-tools.md index 5638f240a5..9459a5490e 100644 --- a/doc/next/3-tools.md +++ b/doc/next/3-tools.md @@ -2,5 +2,10 @@ ### Go command {#go-command} +<!-- go.dev/issue/74667 --> +`cmd/doc`, and `go tool doc` have been deleted. `go doc` can be used as +a replacement for `go tool doc`: it takes the same flags and arguments and +has the same behavior. + ### Cgo {#cgo} |
