Error report of GoLand project after go reloading Error:cannot find The solution of package error

Upgrade the version of golang, uninstall the old version of go, download and install the new version of go. After installation, open the GoLand compilation project and report an error, Tips error:cannot find Package XXXX. If you look at the project carefully, there is no change. The original reason is that the installation program of golang will automatically generate an environment variable gopath, which is different from my original configuration. You can solve the problem by modifying the environment variable gopath.

Read More: