golang私有仓库配置

私有仓库引用配置

go env -w  GOPRIVATE=git.hauwie.com
git config --global --add url.ssh://[email protected]:7033.insteadof https://git.hauwie.com

日志库引用,go.mod文件中增加

replace slog => git.hauwie.com/slog.git v1.0.1
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章