From bacad80230ff64328822391199a9714143b20f62 Mon Sep 17 00:00:00 2001 From: Alan Donovan Date: Fri, 15 Mar 2024 15:06:56 -0400 Subject: [PATCH] _content/doc: update references to obsolete godoc Updates golang/go#59056 Change-Id: I43ff06556e06c5bd76ee17632d3b316a7fbb7e70 Reviewed-on: https://go-review.googlesource.com/c/website/+/571101 Reviewed-by: Dmitri Shuralyov Reviewed-by: Dmitri Shuralyov LUCI-TryBot-Result: Go LUCI --- _content/doc/cmd.html | 10 +++++----- _content/doc/install/source.html | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/_content/doc/cmd.html b/_content/doc/cmd.html index 958eab63a9..6c23e04cdc 100644 --- a/_content/doc/cmd.html +++ b/_content/doc/cmd.html @@ -25,9 +25,9 @@

-Finally the fmt and godoc commands are installed -as regular binaries called gofmt and godoc because -they are so often referenced. +The Go installation process also installs an executable +called gofmt, equivalent to go fmt, +because it is so often referenced.

@@ -80,9 +80,9 @@ -godoc +doc      -Godoc extracts and generates documentation for Go packages. +Doc extracts and generates documentation for Go packages. diff --git a/_content/doc/install/source.html b/_content/doc/install/source.html index f5630e9a50..8eb003d312 100644 --- a/_content/doc/install/source.html +++ b/_content/doc/install/source.html @@ -508,8 +508,8 @@

Optional environment variables

The directory where executables outside the Go distribution are installed using the go command. For example, -go install golang.org/x/tools/cmd/godoc@latest downloads, builds, -and installs $GOBIN/godoc. By default, $GOBIN is +go install golang.org/x/tools/gopls@latest downloads, builds, +and installs $GOBIN/gopls. By default, $GOBIN is $GOPATH/bin (or $HOME/go/bin if GOPATH is not set). After installing, you will want to add this directory to your $PATH so you can use installed tools.