go and vim-go
2016-05-10 17:40
225 查看
sudo apt-get install golang golang-golang-x-tools golint
set GOPATH in .bashrc, such as ~/go, where bin, pkg, src will be put
use vundle to download vim-go from
https://github.com/fatih/vim-go
In vim, run :GoInstallBinaries
It will complain unable to download some, but so far it is enough for most functionalities.
Saving a .go file will invoke gofmt.
^x^o to auto complete
:GoDef
:GoBuild
:GoInstall
:GoTest
:GoRun
:GoPath
:GoLint
:GoImport package_name
相关文章推荐
- Django REST实现步骤
- Django剖析
- 创建django的不同环境
- GoogleMap记下:
- Where to go from here
- Google Map Api 谷歌地图接口整理
- beego模板语法 go语言模版语法
- google api 3
- Scrambled Polygon--poj2007(极角排序模板)
- mongo db brief intro
- Category和Extension
- Google APAC Test 2016 Not So Random 矩阵快递幂(logN复杂度)
- Django模型层Meta内部类详解
- Django urls配置
- Google深度学习笔记 Logistic Classification
- 《Go语言编程入门》视频课程开课了
- Google map api 初学
- 为韩春雨老师和他的 NgAgo-gDNA 点赞
- 为韩春雨老师和他的 NgAgo-gDNA 点赞
- 换新LOGO,58集团想从分类信息向生活服务巨头蜕变?