cf2000 发表于 2018-9-21 06:27:05

Ubuntu下golang环境搭建

  参考官方文档:https://golang.org/doc/editors.html
  1、安装golang
  apt install golang
  2、配置GOPATH
  mkdir ~/gopath
  vim ~/.zshrc,添加一行:
  export GOPATH="/home/robin/gopath"
  3、安装vim-go
  先安装vim插件管理工具:https://github.com/VundleVim/Vundle.vim
  安装vim-go:https://github.com/fatih/vim-go

页: [1]
查看完整版本: Ubuntu下golang环境搭建