go从1.15升级到1.17后发现goland一直无法配置sdk,提示"The selected directory is not a valid home for Go Sdk"
解决
- 执行go version 找到自己安装的详细版本
- 编辑{GOROOT}/src/runtime/internal/sys/zversion.go文件
添加
const TheVersion = `go1.17.4`
- 重启goland即可
go从1.15升级到1.17后发现goland一直无法配置sdk,提示"The selected directory is not a valid home for Go Sdk"
const TheVersion = `go1.17.4`
goland报错 --- "The selected directory is not a valid home for Go Sdk"
http://localhost:8090/archives/18097792