go
xiaobaishuit
focus and high efficiency
展开
-
vim7.3 配置 go语法高亮
以ubuntu为例将$GOROOT/misc/vim/syntax/go.vim 复制到 /usr/share/vim/vim73/syntax/目录下 并在/usr/share/vim/vim73/目录新建ftdetect目录在该目录下新建go.vim并加入下面一行即可au BufRead,BufNewFile *.go set filetype=go原创 2013-01-16 18:40:19 · 645 阅读 · 0 评论 -
在ubuntu 里安装google go 1.0.3
首先配置环境变量以编辑~/.bashrc为例vi ~/.bashrc加入以下内容#This line will tell the Go installer where to place the source code before compilationexport GOROOT=/etc/golang/go#With this line, you choose the arc原创 2013-01-14 16:23:38 · 459 阅读 · 0 评论