mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
Updated gopls (markdown)
parent
30910b4492
commit
f1a80f0cc0
8
gopls.md
8
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`.
|
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
|
# Table of Contents
|
||||||
[Troubleshooting](#troubleshooting)
|
[Troubleshooting](#troubleshooting)
|
||||||
[Known Issues](#known-issues)
|
[Known Issues](#known-issues)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user