Mac Install Go v1.3
- Timmy TSENG
- 2022年12月10日
- 讀畢需時 1 分鐘
下載go安裝檔arm架構
一、遇到Go以下報錯
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
二、解決辦法
1:開啟go modules功能,命令行輸入
go env -w GO111MODULE=on
2:在項目路徑下,初始化Go moudle,命令行輸入
go mod init timmypratice
Kommentare