Open garychenming opened 2 years ago
我也用过mac 是可以执行的
- 首次执行完安装命令
- 再次执行就报错
先跳过第二次下载的这个问题,先测试下程序是否可以执行
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct
- Darwin就是macOS
- 第二次的错误可能是goproxy导致的,可以换一个https://goproxy.cn/
go env -w GO111MODULE=on go env -w GOPROXY=https://goproxy.cn,direct
好的, 谢谢老哥,可以把文件名写的更直观一点,方便下载
我也用过mac 是可以执行的
- 首次执行完安装命令
- 再次执行就报错
先跳过第二次下载的这个问题,先测试下程序是否可以执行 第一张截图就是执行完下载之后,我执行了 diskusage -h 然后报命令未找到
- Darwin就是macOS
- 第二次的错误可能是goproxy导致的,可以换一个https://goproxy.cn/
go env -w GO111MODULE=on go env -w GOPROXY=https://goproxy.cn,direct
好的, 谢谢老哥,可以把文件名写的更直观一点,方便下载
是按照内核名字来命名的哈,MacOS的内核就是Darwin, linux也是内核呀
我也用过mac 是可以执行的
- 首次执行完安装命令
- 再次执行就报错
先跳过第二次下载的这个问题,先测试下程序是否可以执行 第一张截图就是执行完下载之后,我执行了 diskusage -h 然后报命令未找到
先build 然后./main -h 这样运行
首次执行完安装命令
再次执行就报错