From f1a80f0cc0fccdde85527cbb457b47a65a3acdee Mon Sep 17 00:00:00 2001 From: Kevin Burnett Date: Fri, 9 Aug 2019 16:43:04 -0400 Subject: [PATCH] Updated gopls (markdown) --- gopls.md | 8 ++++++++ 1 file changed, 8 insertions(+) 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)