Install `godoc`: ```sh go install -v golang.org/x/tools/cmd/godoc@latest ``` What just happened? ```sh go help install ``` > Executables are installed in the directory named by the `GOBIN` environment variable, which defaults to `$GOPATH/bin` or `$HOME/go/bin` if the `GOPATH` environment variable is not set. Executables in `$GOROOT` are installed in `$GOROOT/bin` or `$GOTOOLDIR` instead of `$GOBIN`. This means you can run `~/go/bin/godoc -http=:6060`. You can add `~/go/bin` to your `PATH`. Now you can browse documentation at [localhost:6060](http://localhost:6060). This similar to using [[Sphinx (documentation generator)]] documentation generator for Python.