In your preferred directory, initialize GOPATH using the short script in Suggested GoLang Init Script. Then, do the following steps: Install godoc 1~$ go install golang.org/x/tools/cmd/godoc@latest 2go: downloading golang.org/x/tools v0.1.7 3go: downloading golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e 4go: …
Read More