go入门(2) go运行 上传者:tftfczl 2021-01-16 16:49:35上传 PDF文件 22.52KB 热度 41次 程序运行 目录层级 ~/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 目录中 $ 下载地址 用户评论 更多下载 下载地址 立即下载 用户评论 发表评论