开发环境问题vscode-Failed to find the “go” binary in either
背景
go语言进行了版本升级后,每次打开vscode,右下角都弹窗显示
Failed to find the “go” binary in either
解决
设置vscode的go语言版本路径
command+shift+P,因为vscode连接的是远端,所以只设施ssh的goroot
{
"go.goroot": "/root/dev/go",
}
保存后重启后就不会报错了,自己记录一下