[Solved] $GOPATH/go.mod exists but should not

How to Solve Error: $GOPATH/go.mod exists but should not

Solution:

After the module support is turned on, it cannot coexist with GOPATH, so just remove the project from GOPATH

 

Read More:

Leave a Reply

Your email address will not be published. Required fields are marked *