Go安装地址
https://golang.org 需要翻墙
推荐下面,这哥们百度盘里了????
https://blog.csdn.net/warrially/article/details/79879119
安装依赖包
集成安装命令,拷贝多行 到terminal
Enter就可完成安装:
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
vscode调试go报错
- lldb-server
debugserver or lldb-server not found: install XCode's command line tools or lldb-server
重新在终端安装下xcode-select
$xcode-select --install
API server listening at: 127.0.0.1:2345
time="2018-07-13T10:31:47+08:00" level=info msg="launching process with args: [/Users/erice/Desktop/tool_test/Go/src/test1/debug]" layer=debugger
could not launch process: listen tcp 185.199.108.153:0: bind: can't assign requested address
Process exiting with code: 1
参考教程
有疑问加站长微信联系(非本文作者)