This has nothing to do with modules. You're still using the old GOPATH 
mode, because you're not in a directory with a go.mod file. GOPATH defaults 
to $HOME/go when it's not set (since 1.8), but that's where you chose to 
put your Go installation. This is not allowed. Either install Go to a 
different location, or set GOPATH to a different location.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/722d0683-ceaf-4e7e-81a5-996e9abc5fabn%40googlegroups.com.

Reply via email to