I see some people have asked similar questions before but mine is Window's environment and Honestly, I am a total newbie in Golang
When I click on any extension related to Go and choose Install All extensions, I get the below error message
I have installed GO binary at C:\Go and place where I am running my go code is at G drive like G:\C- Drive\02. E- Learning\30.DevOps\learn_go
Starting linting the current package at g:\C- Drive\02. E- Learning\30.DevOps\learn_go\cards
Starting "go vet" under the folder g:\C- Drive\02. E- Learning\30.DevOps\learn_go\cards
Starting building the current package at g:\C- Drive\02. E- Learning\30.DevOps\learn_go\cards
Not able to determine import path of current package by using cwd: g:\C- Drive\02. E- Learning\30.DevOps\learn_go\cards and Go workspace:
Installing github.com/mdempsky/gocode FAILED
G:\C- Drive\02. E- Learning\30.DevOps\learn_go\cards>Finished running tool: C:\Go\bin\go.exe vet .
c:\go\src\runtime\stubs_x86.go:10: stackcheck redeclared in this block
c:\go\src\runtime\unaligned1.go:11: readUnaligned32 redeclared in this block
c:\go\src\runtime\unaligned1.go:15: readUnaligned64 redeclared in this block
G:\C- Drive\02. E- Learning\30.DevOps\learn_go\cards>Finished running tool: C:\Go\bin\go.exe build -i -o C:\Users\hp\AppData\Local\Temp\vscode-goJlTYXf\go-code-check .
c:\go\src\runtime\stubs_x86.go:10: stackcheck redeclared in this block
c:\go\src\runtime\unaligned1.go:11: readUnaligned32 redeclared in this block
c:\go\src\runtime\unaligned1.go:15: readUnaligned64 redeclared in this block
Installing github.com/uudashr/gopkgs/cmd/gopkgs FAILED
Installing github.com/ramya-rao-a/go-outline FAILED
Installing github.com/acroca/go-symbols FAILED
Installing golang.org/x/tools/cmd/guru FAILED
Installing golang.org/x/tools/cmd/gorename FAILED
Installing github.com/cweill/gotests/... FAILED
Installing github.com/fatih/gomodifytags FAILED
Installing github.com/josharian/impl FAILED
Installing github.com/davidrjenni/reftools/cmd/fillstruct FAILED
Installing github.com/haya14busa/goplay/cmd/goplay FAILED
Installing github.com/godoctor/godoctor FAILED
Installing github.com/go-delve/delve/cmd/dlv FAILED
Installing github.com/stamblerre/gocode FAILED
Installing github.com/rogpeppe/godef FAILED
Installing github.com/sqs/goreturns FAILED
Installing golang.org/x/lint/golint FAILED
17 tools failed to install.
gocode:
Error: Command failed: C:\Go\bin\go.exe get -v github.com/mdempsky/gocode
go: finding github.com/mdempsky/gocode latest
go: finding golang.org/x/tools latest
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
go: finding github.com/mdempsky/gocode latest
go: finding golang.org/x/tools latest
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
gopkgs:
Error: Command failed: C:\Go\bin\go.exe get -v github.com/uudashr/gopkgs/cmd/gopkgs
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
go-outline:
Error: Command failed: C:\Go\bin\go.exe get -v github.com/ramya-rao-a/go-outline
go: finding github.com/ramya-rao-a/go-outline latest
go: finding golang.org/x/tools latest
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
go: finding github.com/ramya-rao-a/go-outline latest
go: finding golang.org/x/tools latest
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
go-symbols:
Error: Command failed: C:\Go\bin\go.exe get -v github.com/acroca/go-symbols
go: finding golang.org/x/tools latest
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
go: finding golang.org/x/tools latest
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
guru:
Error: Command failed: C:\Go\bin\go.exe get -v golang.org/x/tools/cmd/guru
go: finding golang.org/x/tools latest
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
go: finding golang.org/x/tools latest
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
gorename:
Error: Command failed: C:\Go\bin\go.exe get -v golang.org/x/tools/cmd/gorename
go: finding golang.org/x/tools latest
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
go: finding golang.org/x/tools latest
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
gotests:
Error: Command failed: C:\Go\bin\go.exe get -v github.com/cweill/gotests/...
go: finding golang.org/x/tools latest
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
go: finding golang.org/x/tools latest
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
gomodifytags:
Error: Command failed: C:\Go\bin\go.exe get -v github.com/fatih/gomodifytags
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
impl:
Error: Command failed: C:\Go\bin\go.exe get -v github.com/josharian/impl
go: finding github.com/josharian/impl latest
go: finding golang.org/x/tools latest
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
go: finding github.com/josharian/impl latest
go: finding golang.org/x/tools latest
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
fillstruct:
Error: Command failed: C:\Go\bin\go.exe get -v github.com/davidrjenni/reftools/cmd/fillstruct
go: finding github.com/davidrjenni/reftools latest
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
go: finding github.com/davidrjenni/reftools latest
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
goplay:
Error: Command failed: C:\Go\bin\go.exe get -v github.com/haya14busa/goplay/cmd/goplay
go: finding github.com/skratchdot/open-golang latest
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
go: finding github.com/skratchdot/open-golang latest
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
godoctor:
Error: Command failed: C:\Go\bin\go.exe get -v github.com/godoctor/godoctor
go: finding github.com/godoctor/godoctor latest
go: finding golang.org/x/tools latest
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
go: finding github.com/godoctor/godoctor latest
go: finding golang.org/x/tools latest
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
dlv:
Error: Command failed: C:\Go\bin\go.exe get -v github.com/go-delve/delve/cmd/dlv
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
gocode-gomod:
Error: Command failed: C:\Go\bin\go.exe build -o C:\Users\hp\go\bin\gocode-gomod.exe github.com/stamblerre/gocode
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
godef:
Error: Command failed: C:\Go\bin\go.exe get -v github.com/rogpeppe/godef
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
goreturns:
Error: Command failed: C:\Go\bin\go.exe get -v github.com/sqs/goreturns
go: finding github.com/sqs/goreturns latest
go: finding golang.org/x/tools latest
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
go: finding github.com/sqs/goreturns latest
go: finding golang.org/x/tools latest
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
golint:
Error: Command failed: C:\Go\bin\go.exe get -v golang.org/x/lint/golint
go: finding golang.org/x/lint latest
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
go: finding golang.org/x/lint latest
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
If I try to choose and install just even one extension it still fails, please look at the output below
hp@user MINGW64 /g/C- Drive/02. E- Learning/30.DevOps/learn_go (master)
$ go.exe get -v github.com/mdempsky/gocode
github.com/mdempsky/gocode (download)
get "golang.org/x/tools/go/gcexportdata": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at //golang.org/x/tools/go/gcexportdata?go-get=1
get "golang.org/x/tools/go/gcexportdata": verifying non-authoritative meta tag
golang.org/x/tools (download)
runtime
# runtime
c:\go\src\runtime\stubs_x86.go:10:6: stackcheck redeclared in this block
previous declaration at c:\go\src\runtime\stubs_amd64x.go:10:6
c:\go\src\runtime\unaligned1.go:11:6: readUnaligned32 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:321:40
c:\go\src\runtime\unaligned1.go:15:6: readUnaligned64 redeclared in this block
previous declaration at c:\go\src\runtime\alg.go:329:40
hp@user MINGW64 /g/C- Drive/02. E- Learning/30.DevOps/learn_go (master)
Truly clueless about how to solve this mystery.