Question: I'm trying to set up goroot in wls2 Goland,but ut something went wrong:
"The selected directory is not a valid home for Go SDK"

![enter image description here](https://i.stack.imgur.com/TLA3v.png)

What should I do

Answer: 
At the moment, as of 2020.1.3, you cannot. See [the issue that tracks this request](https://youtrack.jetbrains.com/issue/GO-4377) and vote/watch it for updates.
I found out my issue was having the go source code in c:\ drive. It must be in WSL2 mnt to work correctly. Tested on GoLand 2021.3.1