We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I just downloaded the example, if I try the command go build, I get this error
go build
vscode@bd277fa5c94e:/workspaces/vscode-remote-try-go/src/main$ go build server.go:10:2: cannot find package "hello" in any of: /usr/local/go/src/hello (from $GOROOT) /go/src/hello (from $GOPATH)
How can I set the GOPATH properly?
The text was updated successfully, but these errors were encountered:
@kgoedert This is using the go.inferGopath option in the extension. You can build and run just by hitting F5.
More details on what this is doing here: https://github.com/Microsoft/vscode-go/wiki/GOPATH-in-the-VS-Code-Go-extension#gopath-from-goinfergopath-setting
Sorry, something went wrong.
No branches or pull requests
Hi,
I just downloaded the example, if I try the command
go build
, I get this errorHow can I set the GOPATH properly?
The text was updated successfully, but these errors were encountered: