K&

部署环境

 

go env -w GO111MODULE=on
go get -u -v github.com/nsf/gocode
go get -u -v github.com/rogpeppe/godef
go get -u -v github.com/golang/lint/golint
go get -u -v github.com/lukehoban/go-find-references
go get -u -v github.com/lukehoban/go-outline
go get -u -v sourcegraph.com/sqs/goreturns
go get -u -v golang.org/x/tools/cmd/gorename
go get -u -v github.com/tpng/gopkgs
go get -u -v github.com/newhook/go-symbols

 

 

{  
    "files.autoSave": "onFocusChange",
    "go.buildOnSave": true,  
    "go.lintOnSave": true,   
    "go.vetOnSave": true,   
    "go.buildFlags": [],    
    "go.lintFlags": [],  
    "go.vetFlags": [],    
    "go.useCodeSnippetsOnFunctionSuggest": false,  
    "go.formatOnSave": false,   
    "go.formatTool": "goreturns",   
    "go.goroot": "C:\\go",
    "go.gopath": "D:\\GoWorks"
}

 

posted on 2021-11-02 16:45  K&  阅读(54)  评论(0编辑  收藏  举报