go get github.com/gin-gonic/gin 下載失敗解決方法


go get github.com/gin-gonic/gin 下載失敗

原因是:go get太慢,增加代理,添加 https://goproxy.io/zh/

1. go env -w GO111MODULE=on
2.go env -w GOPROXY=https://goproxy.io,direct
3. 安裝 gin 包 go get github.com/gin-gonic/gin


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM