Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You are neither in a module nor in your GOPATH. Please see https://github.com/golang/go/wiki/Modules for information on how to set up your Go project. #38200

Closed
Will-t-future opened this issue Apr 1, 2020 · 2 comments

Comments

@Will-t-future
Copy link

#How can I fix this issue,I create a go project not in GOPATH but when I want to begin my project,I
found that everytime I press the keyboard,the GO extension will warn me You are neither in a module nor in your GOPATH. Please see https://github.com/golang/go/wiki/Modules for information on how to set up your Go project.,and I found that the gopls is not #work,what can I do

@stamblerre
Copy link
Contributor

Are you intentionally not using modules? This warning should only pop up if you have imports that gopls cannot resolve.

@andybons
Copy link
Member

andybons commented Apr 1, 2020

Hi there,

Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.

For asking questions, see:

Please ask the question on one of the above forums.

(Quoted from https://golang.org/wiki/Questions)

@andybons andybons closed this as completed Apr 1, 2020
@golang golang locked and limited conversation to collaborators Apr 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants