diff --git a/gopls.md b/gopls.md index eeefecb4..0d64d52d 100644 --- a/gopls.md +++ b/gopls.md @@ -16,6 +16,14 @@ go: cannot use path@version syntax in GOPATH mode run `GO111MODULE=on go get golang.org/x/tools/gopls@latest`. +If you then see this error: +```shell +GO111MODULE=on go get golang.org/x/tools/gopls@latest +go: cannot determine module path for source directory /Users/helloworld/projects/hotproj (outside GOPATH, no import comments) +``` + +This may be worth trying: ```go get golang.org/x/tools/gopls``` + # Table of Contents [Troubleshooting](#troubleshooting) [Known Issues](#known-issues)