内容简介:cd /Users/didi/Library/Application Support/Sublime Text 3/Packages然后 git clone然后 Sublime 上Comand+. 就可以使用gosublime了。
GoSublime
cd /Users/didi/Library/Application Support/Sublime Text 3/Packages
然后 git clone https://margo.sh/GoSublime
然后 Sublime 上Comand+. 就可以使用gosublime了。
VSCODE
fn+F5 调试 出现launch.json 页面。 需要配置env。
"env": { "GOPATH":"/Users/didi/GoProject"},
配完以后。
出现:
Failded to continue:"Cannot find Delve debugger. Install from https://github.com/derekparker/delve & ensure it is in your "GOPATH/bin" or "PATH"
接着:
go get github.com/derekparker/delve/cmd/dlv
将dlv调试器放在GOPATH(工程目录)的bin目录下
快捷键如下:
F9 切换断点
F10 Step over
F11 Step in
Shift+F11 Step out
以上所述就是小编给大家介绍的《配Mac GOLANG环境》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Web Security, Privacy and Commerce, 2nd Edition
Simson Garfinkel / O'Reilly Media / 2002-01-15 / USD 44.95
Since the first edition of this classic reference was published, World Wide Web use has exploded and e-commerce has become a daily part of business and personal life. As Web use has grown, so have ......一起来看看 《Web Security, Privacy and Commerce, 2nd Edition》 这本书的介绍吧!