我通过运行找到了缺少的线索
brew info go:
==> CaveatsA valid GOPATH is required to use the `go get` command.If $GOPATH is not specified, $HOME/go will be used by default: https://golang.org/doc/pre.html#GOPATH
由此,我在上找到了相关的可执行文件
$HOME/go/bin。

我通过运行找到了缺少的线索
brew info go:
==> CaveatsA valid GOPATH is required to use the `go get` command.If $GOPATH is not specified, $HOME/go will be used by default: https://golang.org/doc/pre.html#GOPATH
由此,我在上找到了相关的可执行文件
$HOME/go/bin。