VSCode安装go语言开发环境,go插件问题解决

一样的问题 Analyse Tool is Missing

看了这篇文章

https://blog.csdn.net/yo_oygo/article/details/79065966

试了一下

发现解决了大部分tool的安装问题

剩下最后一个估计是又没找到路径导致install失败的

所以直接手动给它挪了个地方 最后解决的

看一下 最后的路径吧 %gopath%\src 目录下执行命令tree

tree

├─github.com

│ ├─acroca

│ │ └─go-symbols

│ ├─golang

│ │ └─lint

│ │ ├─golint

│ │ ├─misc

│ │ │ ├─emacs

│ │ │ └─vim

│ │ │ └─ftplugin

│ │ │ └─go

│ │ └─testdata

│ ├─ramya-rao-a

│ │ └─go-outline

│ └─sqs

│ └─goreturns

│ ├─returns

│ └─_samples

└─golang.org

└─x

├─lint

│ ├─golint

│ ├─misc

│ │ ├─emacs

│ │ └─vim

│ │ └─ftplugin

│ │ └─go

│ └─testdata

└─tools

├─benchmark

│ └─parse

├─blog

│ └─atom

├─cmd

│ ├─benchcmp

│ ├─bundle

│ │ └─testdata

│ │ └─src

│ │ ├─domain.name

│ │ │ └─importdecl

│ │ └─initial

│ ├─callgraph

│ │ └─testdata

│ │ └─src

│ │ └─pkg

│ ├─compilebench

│ ├─cover

│ │ └─testdata

│ ├─digraph

│ ├─eg

│ ├─fiximports

│ │ └─testdata

│ │ └─src

│ │ ├─fruit.io

│ │ │ ├─banana

│ │ │ ├─orange

│ │ │ └─pear

│ │ ├─new.com

│ │ │ └─one

│ │ ├─old.com

│ │ │ ├─bad

│ │ │ └─one

│ │ └─titanic.biz

│ │ ├─bar

│ │ └─foo

│ ├─getgo

│ │ └─server

│ ├─go-contrib-init

│ ├─godex

│ ├─godoc

│ ├─goimports

│ ├─gomvpkg

│ ├─gorename

│ ├─gotype

│ ├─goyacc

│ │ └─testdata

│ │ └─expr

│ ├─guru

│ │ ├─serial

│ │ └─testdata

│ │ └─src

│ │ ├─alias

│ │ ├─calls

│ │ ├─calls-json

│ │ ├─definition-json

│ │ ├─describe

│ │ ├─describe-json

│ │ ├─freevars

│ │ ├─implements

│ │ ├─implements-json

│ │ ├─implements-methods

│ │ ├─implements-methods-json

│ │ ├─imports

│ │ ├─lib

│ │ │ └─sublib

│ │ ├─main

│ │ ├─peers

│ │ ├─peers-json

│ │ ├─pointsto

│ │ ├─pointsto-json

│ │ ├─referrers

│ │ ├─referrers-json

│ │ ├─reflection

│ │ ├─softerrs

│ │ ├─what

│ │ ├─what-json

│ │ └─whicherrs

│ ├─heapview

│ │ ├─client

│ │ │ └─testing

│ │ └─internal

│ │ └─core

│ ├─html2article

│ ├─present

│ │ ├─static

│ │ └─templates

│ ├─ssadump

│ ├─stress

│ ├─stringer

│ │ └─testdata

│ ├─tip

│ └─toolstash

├─container

│ └─intsets

├─cover

├─go

│ ├─ast

│ │ └─astutil

│ ├─buildutil

│ ├─callgraph

│ │ ├─cha

│ │ │ └─testdata

│ │ ├─rta

│ │ │ └─testdata

│ │ └─static

│ ├─gccgoexportdata

│ │ └─testdata

│ ├─gcexportdata

│ │ └─testdata

│ ├─gcimporter15

│ │ └─testdata

│ │ └─versions

│ ├─internal

│ │ └─gccgoimporter

│ │ └─testdata

│ ├─loader

│ │ └─testdata

│ ├─pointer

│ │ └─testdata

│ ├─ssa

│ │ ├─interp

│ │ │ └─testdata

│ │ ├─ssautil

│ │ │ └─testdata

│ │ └─testdata

│ ├─types

│ │ └─typeutil

│ └─vcs

├─godoc

│ ├─analysis

│ ├─dl

│ ├─proxy

│ ├─redirect

│ ├─short

│ ├─static

│ │ ├─analysis

│ │ └─images

│ ├─util

│ └─vfs

│ ├─gatefs

│ ├─httpfs

│ ├─mapfs

│ └─zipfs

├─imports

├─playground

│ └─socket

├─present

├─refactor

│ ├─eg

│ │ └─testdata

│ ├─importgraph

│ ├─rename

│ └─satisfy

└─third_party

├─moduleloader

├─typescript

└─webcomponents