中国网络水泥 发表于 2019-2-18 12:35:19

Ubuntu中Go的环境搭建

  配置环境变量,vim /etc/profile下,添加对应的goroot和gopath的配置环境
  export GOROOT=/usr/local/go
  export GOPATH=/app/gopath      之后,source /etc/profile 使得其配置文件有效.

页: [1]
查看完整版本: Ubuntu中Go的环境搭建