go-sup | Supervisor trees for Golang | Continuous Deployment library
kandi X-RAY | go-sup Summary
kandi X-RAY | go-sup Summary
Supervisor trees for Golang!
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of go-sup
go-sup Key Features
go-sup Examples and Code Snippets
Community Discussions
Trending Discussions on go-sup
QUESTION
I've installed Microsoft VS Code in another partition (Drive D) on my Windows 10 system. I prefer to keep Microsoft VS Code in another partition away from Windows.
My goal is to install the GO extension from Microsoft. The link to the extension is here.
Click here to visit the source of the repository to the go extension.
The following error occurs when I attempt to install the GO extension through the Extension dialog in the Microsoft VS Code application.
The Error:
Failed to run "go env" to find GOPATH as the "go" binary cannot be found in either GOROOT(undefined) or PATH (
C:\Windows\system32;
C:\Windows;
C:\Windows\System32\Wbem;
C:\Windows\System32\WindowsPowerShell\v1.0\;
C:\Windows\System32\OpenSSH\;
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;
C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;
C:\Users\ My username left out \AppData\Local\Microsoft\WindowsApps;
)
I suspect that the cause is the fact that I installed Microsoft VS Code in another partition. I've also mentioned this at the beginning of my question. I've explained the steps that I took to find the solution below:
First I examined the location of the go resource. It seems that my resource is placed in the right folder (the folder of my installation.
D:\Program Files\Microsoft VS Code\resources\app\extensions\go
Than I tried a simple command through the commands by pressing ctrl+shift+p
and then typing go:Current GOPATH. the error message
command go.goroot not found
Then I thought of testing out if I can run a basic go file. I searched for a simple example and came across this site.. So, I've created a project folder and added the file Hello.go in the folder D:\VS_Projects\GO_Helloworld Then I placed the hello world program in it. The program is shown below
...ANSWER
Answered 2020-Jan-17 at 15:21The answer can be found on superuser. Also, I like to clearify why my post was originally closed according to the guidelines of stackoverflow. I Quote:
Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming.
I'm not sure to why the user who spotted the mistake removed his comment.
He said: What do you mean by 'Microsoft'?
It was helpful though. Anyway, I'll close this post now.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install go-sup
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page