I installed Goland as a Go IDE and it wants me to configure GOPATH. I'm new in this language so I don't know what to do. Here is the error message:
GOPATH was detected We've detected some libraries from your GOPATH. You may want to add extra libraries in GOPATH configuration.
Edit: Not a duplicate question, export GOROOT=""
solved my problem. Thanks anyway.
You actually do not need to set the GOPATH
environment variable; in Go 1.8 it's ~/go
by default.
I suggest that you just update to latest stable Go (1.8) and use that convention; otherwise you'll need to set the GOPATH
variable in your environment.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With