记录下Goland IDE里升级Golang版本到1.17时,无法配置GOROOT SDK为1.17的解决办法。
Golang1.13升级到1.17
如下步骤:
C:\Go 1.17\src\runtime\internal\sys\zversion.go
const TheVersion = `go1.17`
const Goexperiment = ``
File->Settings->GOROOT->选中Go 1.17
File->Settings->Go Modules (vgo)->选择1.17的SDK