----------------------------------------开发环境配置
http://blog.csdn.net/wolinxuebin/article/details/7724049 Go语言的开发环境配置的经验总结:
可参考:http://www.cnblogs.com/yjf512/archive/2012/06/19/2555248.html
配置gocode(可选):
通过eclipse git下载gocode源代码到:G:\360CloudUI\Cache\120876992\work\git_repo\gocode
复制gocode目录到D:\Go\bin中
cmd执行:D:\Go\bin>go build ./gocode 生成gocode.exe文件
eclipse preferences/go/gocode中配置gocode path:D:\Go\bin\gocode.exe
sublime text3安装gosublime插件,gosublime settings-default中配置:"env":{"path":"H:/my_program/Sublime Text Build 3047 x64/Data/Packages/GoSublime;D:/Go/bin"},
必须要写GoSublime的路径(右击文件copy file path即可),不然自动提示无效。(参考https://github.com/Centny/Centny/blob/master/Articles/How%20to%20configure%20golang%20develop%20environment%20with%20debug%20and%20unit%20test%20debug.md)
http://blog.csdn.net/wolinxuebin/article/details/7724049 Go语言的开发环境配置的经验总结:
可参考:http://www.cnblogs.com/yjf512/archive/2012/06/19/2555248.html
配置gocode(可选):
通过eclipse git下载gocode源代码到:G:\360CloudUI\Cache\120876992\work\git_repo\gocode
复制gocode目录到D:\Go\bin中
cmd执行:D:\Go\bin>go build ./gocode 生成gocode.exe文件
eclipse preferences/go/gocode中配置gocode path:D:\Go\bin\gocode.exe
sublime text3安装gosublime插件,gosublime settings-default中配置:"env":{"path":"H:/my_program/Sublime Text Build 3047 x64/Data/Packages/GoSublime;D:/Go/bin"},
必须要写GoSublime的路径(右击文件copy file path即可),不然自动提示无效。(参考https://github.com/Centny/Centny/blob/master/Articles/How%20to%20configure%20golang%20develop%20environment%20with%20debug%20and%20unit%20test%20debug.md)
有疑问加站长微信联系(非本文作者)