Solve the problem that IDEA introduces GO SDK and cannot load local Go. The selected directory is not a valid home for Go SDK
Solution:
Find the corresponding go directory:
C:\Program Files\go\go1.20.4\src\runtime\internal\sys There is a file name " zversion.go "
to edit the file
const TheVersion = `go1.20.4`
Configure your own corresponding version and save it
Just re-introduce the SDK
As shown below
Wish you good luck and hope it helps you solve your problem. Remember to like it~~