查了很多资料,只有这篇有用,解决办法请参考这里 https://blog.csdn.net/Jiangzhiqi4551/article/details/116174524
使用brew install go安装完成以后,在home brew命令行执行go version遇到报错:
go: cannot find GOROOT directory: /opt/homebrew/bin/go
解决方法:export GOROOT="$(brew --prefix golang)/libexec" 参考这里 https://stackoverflow.com/questions/60406755/cannot-do-any-go-command-anymore
TRANSLATE with x English TRANSLATE with COPY THE URL BELOW Back EMBED THE SNIPPET BELOW IN YOUR SITE Enable collaborative features and customize widget: Bing Webmaster Portal Back 标签:报错,https,Homebrew,go,homebrew,com From: https://www.cnblogs.com/jamstack/p/17208713.html