Go安装&VSCode调试

栏目: 编程工具 · IOS · 发布时间: 7年前

内容简介:集成安装命令,拷贝多行 到

Go安装地址

https://golang.org 需要翻墙

推荐下面,这哥们百度盘里了:+1:

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

参考教程


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Pattern Recognition and Machine Learning

Pattern Recognition and Machine Learning

Christopher Bishop / Springer / 2007-10-1 / USD 94.95

The dramatic growth in practical applications for machine learning over the last ten years has been accompanied by many important developments in the underlying algorithms and techniques. For example,......一起来看看 《Pattern Recognition and Machine Learning》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具