1. 首页
  2. 数据库
  3. 其它
  4. go入门(2) go运行

go入门(2) go运行

上传者: 2021-01-16 16:49:35上传 PDF文件 22.52KB 热度 11次
程序运行 目录层级 ~/go test src calc calc.go simplemath add add,go sqrt sqrt.go 配置GOPATH: $ vim ~/.bash_profile export GOPATH=$HOME/go;/home/user/go/test # 用冒号分隔,不是分号 $ source ~/.bash_profile 把生成的可执行文件放到 test/bin 目录中 $
下载地址
用户评论