Skip to content

Commit da8b50c

Browse files
committed
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 <[email protected]> Auto-Submit: Michael Matloob <[email protected]> Reviewed-by: Michael Pratt <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 6669aa3 commit da8b50c

File tree

2 files changed

+5
-55
lines changed

2 files changed

+5
-55
lines changed

doc/next/3-tools.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,10 @@
22

33
### Go command {#go-command}
44

5+
<!-- go.dev/issue/74667 -->
6+
`cmd/doc`, and `go tool doc` have been deleted. `go doc` can be used as
7+
a replacement for `go tool doc`: it takes the same flags and arguments and
8+
has the same behavior.
9+
510
### Cgo {#cgo}
611

src/cmd/doc/doc.go

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)